Esempio n. 1
0
 public void CreateFactory()
 {
     try
     {
         Debug.Log("Creating factory");
         Debug.Log(currentLand.getID());
         currentLand.AddFactory(new Factory(), clientName);
         UpdateServerMapPiece(currentLand.DataInfo());
     }
     catch (Exception e) { Debug.Log("Can't create factory \n" + e.StackTrace); }
 }
Esempio n. 2
0
 public void CreateFactory(Factory fact, mapPiece land)
 {
     land.AddFactory(fact, clientName);
     UpdateServerMapPiece(land.DataInfo());
 }