Constructors
constructor
-
Parameters
Methods
addHeads
- addHeads(amount: any): void
-
Parameters
Returns void
canAfford
- canAfford(cost: any): boolean
-
Parameters
Returns boolean
computeCrystalsMinusBlueprints
- computeCrystalsMinusBlueprints(): any
-
Returns any
getCrystals
-
Returns any
getHeads
-
Returns any
take
-
Parameters
Returns void
Helper for accessing the amount of heads and crystals a player has. Those resources are both stored in the playerbase