@Override
    public void processInput(Controller c) {
        if (c == null || player == null)
            return;

        if (c.isPressing(Key.OK)) {
            player.check(map);
            c.clear(Key.OK);
        } else {
            movePlayer(c, player, map);
        }
    }