Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGameBehavior

game- level behaviors, for example, when the game starts it could ask the user to prompt for name and choose the race so the implementation have the change to assign the correct race to the human player

Hierarchy

Index

Properties

Properties

id

id: string

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

stateModifiers

stateModifiers: IStateModifier[]

each of this modifiers will end up in a subscription in the game and notified when requested event happen so they have the chance to modify the state somehow

Generated using TypeDoc