private void adjust() {
        boolean left = x < PLAYER_RADIUS;
        boolean right = x > (WINDOW_WIDTH - PLAYER_RADIUS);
        boolean top = y < PLAYER_RADIUS;
        boolean bot = y > WINDOW_HEIGHT - PLAYER_RADIUS * 2;

        if (right) x = (WINDOW_WIDTH - PLAYER_RADIUS) - 1;
        if (left) x = PLAYER_RADIUS + 1;
        if (top) y = PLAYER_RADIUS + 1;
        if (bot) y = (WINDOW_HEIGHT - PLAYER_RADIUS * 2) - 1;
    }