Example #1
0
 protected Builder(int duration, IBasicResources costPerTurn, SpaceBuilding building)
 {
     this.BuildingDuration   = duration;
     this.CostPerTurn        = new ReadOnlyResources(costPerTurn);
     this.BuildingBeingBuilt = building;
 }
Example #2
0
 public BuildingCompletedEventArgs(SpaceBuilding building)
 {
     this.Building = building ?? throw new ArgumentNullException(nameof(building));
 }