Example #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());
     }
 }