Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPlayerBehavior

define behavior at the player level. For example global conditions for victory... some things that can be done with IUnitBehavior also can be done with IPlayerBehavior and makes more sense because of performance. ie. instead of many listeners - just one listener that iterates. example: if a unit can be bought

Hierarchy

Index

Properties

Properties

Optional ia

ia: IA

id

id: string

the id of the referenced unit type or Player or whatever (IUnit)

stateModifiers

stateModifiers: IStateModifier[]

Generated using TypeDoc