@Override
	public void keyPressed(KeyEvent e) {
		if (e.getKeyCode() == KeyEvent.VK_W) {
			p.moveUp();
		} else if (e.getKeyCode() == KeyEvent.VK_A) {
			p.moveLeft();
		} else if (e.getKeyCode() == KeyEvent.VK_D) {
			p.moveRight();
		} else if (e.getKeyCode() == KeyEvent.VK_S) {
			p.moveDown();
		}
	}