@Override
	public void keyPressed(KeyEvent e) {
		int keyCode = e.getKeyCode();
		
		// Controls for player 1
		if(keyCode == KeyEvent.VK_W) {
			GameMaster.player.moveUp = true;
 		}
		
		if(keyCode == KeyEvent.VK_S) {
			GameMaster.player.moveDown = true;
		}

		// Controls for player 2
		if(keyCode == KeyEvent.VK_UP) {
			GameMaster.ai.moveUp = true;
		}

		if(keyCode == KeyEvent.VK_DOWN) {
			GameMaster.ai.moveDown = true;
		}
		
		// Close the game
		if(keyCode == KeyEvent.VK_ESCAPE) {
			System.exit(0);
		}
	}