Esempio n. 1
0
 private void HandleBuildAction(HexCoordinates coords)
 {
     if (indicator.IsProjectedCellInPlacementGrid())
     {
         indicator.Clear();
         player.CmdPlaceCell((Int16)coords.X, (Int16)coords.Z, (Int16)cellBuildType);
         state = States.None;
         game.UI.ShowCellInfo(builder);
     }
     else
     {
         // TODO display error message to player
     }
 }