Exemplo n.º 1
0
 /// <summary>
 /// Provide the player with the current state of this tile.
 /// </summary>
 /// <param name="player"></param>
 public void UpdateState(Player player)
 {
     player.UpdateTile(GetData(player));
     if (unit != null)
     {
         player.UpdateUnit(unit.GetData());
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reveal this tile to a player.
 /// </summary>
 /// <param name="player"></param>
 public void Reveal(Player player)
 {
     player.UpdateTile(GetData(player));
 }