private void movePlayer(Controller c, Player player, Map map) {
        if (c.isPressing(Key.UP, Key.LEFT))
            player.move(map, Direction.UPPER_LEFT);
        else if (c.isPressing(Key.UP, Key.RIGHT))
            player.move(map, Direction.UPPER_RIGHT);
        else if (c.isPressing(Key.DOWN, Key.LEFT))
            player.move(map, Direction.LOWER_LEFT);
        else if (c.isPressing(Key.DOWN, Key.RIGHT))
            player.move(map, Direction.LOWER_RIGHT);
        else if (c.isPressing(Key.UP))
            player.move(map, Direction.UP);
        else if (c.isPressing(Key.DOWN))
            player.move(map, Direction.DOWN);
        else if (c.isPressing(Key.LEFT))
            player.move(map, Direction.LEFT);
        else if (c.isPressing(Key.RIGHT))
            player.move(map, Direction.RIGHT);
        else
            player.idle();
    }