public bool SetPlayer(DungeonFighterModel player) { if (CellStatus != BattleGridEnum.Empty) { return(false); } Player = player; return(true); }
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); }