Ejemplo n.º 1
0
 //Tells the body to move to the tile. Also tells the
 void MoveToTile(Tile destination)
 {
     body.MoveToNewTile(destination);
     location = destination;
     if (body.CheckSettlementStatus())
     {
         //Join the settlement
     }
     else
     {
         //Create a new camp
         location.AddNewSettlement();
     }
 }