private void input() {
        if(Keyboard.isKeyDown(Keyboard.KEY_DOWN) && (bat.getY() + bat.getHeight()) <= HEIGHT){
            bat.update(0,1);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_UP) && bat.getY() >= 0){
            bat.update(0,-1);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_NUMPAD5) && (god_bat.getY() + god_bat.getHeight()) <= HEIGHT){
            god_bat.update(0,1);
        }
        if(Keyboard.isKeyDown(Keyboard.KEY_NUMPAD8) && god_bat.getY() >= 0){
            god_bat.update(0,-1);
        }
        if (Keyboard.isKeyDown(Keyboard.KEY_SPACE)) {
            ball.spawn(WIDTH / 2 + 15 / 2, HEIGHT / 2 - 12 / 2,-1,-1);
        }
    }