so users can include additional information. They implement almost everything and probably can put more data for easy edition
by default a resource will increase something per turn without having to happen anything...
the cumulative resource value for this turn. When the turn ends, thisTurnValue is summed to value and reseted to 0
Current player's value - when he buy something the resources are extracted from this value
Generated using TypeDoc
IPlayer is associated with resources. Each player can have different list of resource definitions IUnit are associated with resources also since the predicate buildCondition is based on the resources the player has (in part). For example, I need 50 gold in order to build a soldier. IResource.value.
IResource.value can only be modified at the following moments: