Exemple #1
0
        public void Add(int PlayerID, IronEntity EntityType, PythonTuple Location)
        {
            Vector2i loc = new Vector2i((int)Location[0], (int)Location[1]);

            Battlefield.Add(PlayerID, EntityType.Entity, loc);
            new Networking.Battlefield.AddPiece(PlayerID, EntityType.Entity.Name, loc).Send();
        }
Exemple #2
0
 public void Add(int PlayerID, IronEntity EntityType, PythonTuple Location)
 {
     Vector2i loc = new Vector2i((int)Location[0], (int)Location[1]);
     Battlefield.Add(PlayerID, EntityType.Entity, loc);
     new Networking.Battlefield.AddPiece(PlayerID, EntityType.Entity.Name, loc).Send();
 }