Example #1
0
 public static Base BaseFactory(ServerGame game, Vector2 position)
 {
     Base baseObj = new Base(game.GameObjectCollection);
     game.GameObjectCollection.Add(baseObj);
     Base.ServerInitialize(baseObj, position);
     return baseObj;
 }
 public BaseSelected(UIContext nextInStack, Base selectedBase)
     : base(nextInStack)
 {
     this.selectedBase = selectedBase;
 }
 public BuildTransport(LocalPlayer player, Base baseObj)
 {
     this.Append(baseObj.ID);
     player.SendTCP(this);
 }
 public BuildCombatVehicle(LocalPlayer player, Base baseObj)
 {
     this.Append(baseObj.ID);
     player.SendTCP(this);
 }
Example #5
0
 public static void ServerInitialize(Base obj, Vector2 position)
 {
     PhysicalObject.ServerInitialize(obj, position, 0);
 }
 public SetSupplyPoint(LocalPlayer player, Base baseObj, Company co)
 {
     this.Append(baseObj.ID);
     this.Append(co.ID);
     player.SendTCP(this);
 }