public bool Spend(ObjectDefinition definition) { return(minerals.Spend(definition.CostMinerals) && gas.Spend(definition.CostGas) && supplies.Gather(definition.CostSupplies)); }