Ejemplo n.º 1
0
 public SellerZone(ChemicalSignature signature, int sellPrice, FactoryCommandType sellAction, Vector2 pos, Vector2 size) : base(null, pos, size)
 {
     objectType      = PlatformObjectType.Trigger;
     this.signature  = signature;
     this.sellPrice  = sellPrice;
     this.sellAction = sellAction;
 }
Ejemplo n.º 2
0
 public FactoryCommand(int currentTime, FactoryCommandType type, int amount, ChemicalSignature signature)
 {
     this.time      = currentTime;
     this.type      = type;
     this.amount    = amount;
     this.signature = signature;
 }
Ejemplo n.º 3
0
 public void Record(FactoryCommandType commandType, int sellPrice)
 {
     recordedCommands.Add(new FactoryCommand(currentTime, commandType, sellPrice));
 }
Ejemplo n.º 4
0
 public FactoryCommand(int currentTime, FactoryCommandType type)
 {
     this.time = currentTime;
     this.type = type;
 }
Ejemplo n.º 5
0
 public FactoryCommand(int currentTime, FactoryCommandType type, int amount)
 {
     this.time   = currentTime;
     this.type   = type;
     this.amount = amount;
 }