Exemplo n.º 1
0
 /// <summary>
 /// Checks if a player can perform the specified action
 /// </summary>
 /// <param name="action">The action to check</param>
 /// <returns>true, if the player can perform the action. false otherwise.</returns>
 public virtual bool CanPerformAction(PlayerAction action)
 {
     return(!CurrentTile.IsActionForbiddenFromHere(this, action));
 }