Type Definitions
-
One game global state
Properties:
Name Type Description gameStateGameStateEnum Current status of the game
allHeroesArray.<HeroCard> Array containing all heroes
deckModeDeckMode Deck mode of the game
advRulesArray.<AdvRule> Array describing the active advandced rules, if any
waitingFor/blueboolean If true, we are waiting for blue to play
waitingFor/redboolean If true, we are waiting for red to play
currentPlayerColor | 'both' Who is current player, can be 'both'
battleTiles/left/ofBlueArray.<BattleTile> Battle tiles on left side of blue player
battleTiles/center/ofBlueArray.<BattleTile> Battle tiles on center of blue player
battleTiles/right/ofBlueArray.<BattleTile> Battle tiles on right side of blue player
totalFoodnumber Total food available for players to take
string All heroes in JSON format (read from a JSON file)
-
Values for Game state.