public void keyPressed(KeyEvent ke) {
        switch(ke.getKeyCode()){
            case KeyEvent.VK_SPACE:
            	// call object methods that happen when key is pressed
            	Ball.jump(this);
                break;
            case KeyEvent.VK_LEFT:
            	// call object methods that happen when key is pressed
            	Ball.moveLeft();
                break;
            case KeyEvent.VK_RIGHT:
            	// call object methods that happen when key is pressed
            	Ball.moveRight();
                break;
            case KeyEvent.VK_DOWN:
            	// call object methods that happen when key is pressed
            	Ball.slow();
                break;
            case KeyEvent.VK_ENTER:
            	// call object methods that happen when key is pressed
            	CurrentGC.setGotten(true);
                break;
        }
    }