public void keyPressed(KeyEvent e) {
			switch (e.getKeyCode()){
			//left
			case 37: {Game.p.Move(-Xspeed, 0); break;}
			case 65: {Game.p.Move(-Xspeed, 0); break;}
			//up
			case 38: {Game.p.Move(0, -Yspeed); break;}
			case 87: {Game.p.Move(0, -Yspeed); break;}
			//right
			case 39: {Game.p.Move(Xspeed, 0); break;}
			case 68: {Game.p.Move(Xspeed, 0); break;}
			//down
			case 40: {Game.p.Move(0, Yspeed); break;}
			case 83: {Game.p.Move(0, Yspeed); break;}
			//Q
			case 81: {Game.p.kill(); break;}
			default: {System.out.println(e.getKeyCode());}
			

			}
		}