public void MovePlayer(Coordinate direction) { player.UpdatePrevPos(); player.MovePos(direction); moveCounts++; UpdateBoard(player); }