Difference between revisions of "User:AVS/Bonus system"

From VCMI Project Wiki
Jump to: navigation, search
(Created page with "-> Bonus system is core part of mechanics and it`s interface should be independent of particular components. * -> extract common interface ** LimiterDecorator ** Bonus (w/o B...")
 
Line 2: Line 2:
  
 
* -> extract common interface
 
* -> extract common interface
** LimiterDecorator
 
 
** Bonus (w/o BonusType, new bonus types can be added in future by mods, all hardcoded types should be used only internally by gamehandler)
 
** Bonus (w/o BonusType, new bonus types can be added in future by mods, all hardcoded types should be used only internally by gamehandler)
 
*** (*) abstract interface for Bonus.
 
*** (*) abstract interface for Bonus.

Revision as of 07:09, 21 January 2013

-> Bonus system is core part of mechanics and it`s interface should be independent of particular components.

  • -> extract common interface
    • Bonus (w/o BonusType, new bonus types can be added in future by mods, all hardcoded types should be used only internally by gamehandler)
      • (*) abstract interface for Bonus.
    • BonusList
    • IBonusBearer
    • ILimiter
    • IPropagator
  • -> get rid of dependency from CCreature, CSpell
  • (?) what to do with concrete selectors, limiters, propagators?