public bool ActivateProduction(ProductionCyclesInfo cyclesInfo) { if (!AvailableProduction.Contains(cyclesInfo)) { return(false); } ActiveProductionCycle = cyclesInfo; return(true); }
public virtual void SetInfo(BuildingInfo info) { Info = info; AvailableProduction.AddRange(Info.ProductionCycles); ActiveProductionCycle = Info.ProductionCycles.FirstOrDefault(); }