@Override
	public void keyPressed(KeyEvent e) 
	
	{
		int key = e.getKeyCode();

        if (key == KeyEvent.VK_LEFT) 
        {
        	model.PaddleLeft();
        }

        else if (key == KeyEvent.VK_RIGHT) 
        {
        	model.PaddleRight();
        }
        
        else if (key == KeyEvent.VK_SPACE)
        {
        	model.Pause();
        }
        
        else if (key == KeyEvent.VK_UP)
        {
        	model.NextLevel();
        }
        
        else if (key == KeyEvent.VK_ESCAPE)
        {
        	model.GameOver();
        }
        
	}