示例#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;
 }