public bool SetPlayer(DungeonFighterModel player)
        {
            if (CellStatus != BattleGridEnum.Empty)
            {
                return(false);
            }

            Player = player;
            return(true);
        }
Exemple #2
0
 public bool SetPlayerLocation(DungeonFighterModel player, Tuple <int, int> location)
 {
     (int x, int y) = location;
     if (PlayerBoard[x, y].IsEmpty())
     {
         PlayerBoard[x, y].SetPlayer(player);
         return(true);
     }
     return(false);
 }