예제 #1
0
 public static BuildingOperation NewLocalResearch(Building building, LocalResearch res)
 {
     return(new NewLocalResearch(building, res));
 }
예제 #2
0
 public static BuildingOperation NewModule(Building building, Unit unit, UnitModule mod)
 {
     return(new NewModule(building, unit, mod));
 }
예제 #3
0
 public static BuildingOperation NewUnit(Building building, Vector2 spawnPos)
 {
     return(new NewUnit(building, spawnPos));
 }
예제 #4
0
 public static BuildingOperation NewUpgrade(Building building, Unit unit, UnitUpgrade up)
 {
     return(new NewUpgrade(building, unit, (int)up));
 }
예제 #5
0
 protected BuildingOperation(int needDone, int type, ResourceTotality resourceConsumation, int energyConsumation, Building building)
 {
     Done                = 0;
     NeedDone            = needDone;
     Type                = (BuildingOperationType)type;
     ResourceConsumation = resourceConsumation;
     EnergyConsumation   = energyConsumation;
     this.building       = building;
 }