Ejemplo n.º 1
0
 public bool CanAfford(ObjectDefinition definition)
 {
     return(minerals.CanSpend(definition.CostMinerals) && gas.CanSpend(definition.CostGas) && supplies.CanGather(definition.CostSupplies));
 }