private void MoveRight(Person player, Room room) { var direction = new Vector2(1, 0); if (player.CanMove(direction, room)) { player.Move(direction); } }
private void MoveDown(Person player, Room room) { var direction = new Vector2(0, -1); if (player.CanMove(direction, room)) { player.Move(direction); } }