public void KeyPressed(Key key) { if (key == Key.Enter) { _player.EndTurn(); return; } CompassDirection direction = DetermineDirectionToMove(key); if (direction != CompassDirection.None) { _player.MoveSelectedUnit(direction); } }