public void keyPressed(KeyEvent e) {
		int key=e.getKeyCode();
		if(key == KeyEvent.VK_UP)
			dy+=0.07;
		if(key == KeyEvent.VK_DOWN)
			dy-=0.09;
		if(key == KeyEvent.VK_LEFT){
			if(vx>0)
				vx=0;
			dx-=0.3;
			ChangeTex(0);
		}
		if(key == KeyEvent.VK_RIGHT){
			if(vx<0)
				vx=0;
			dx+=0.3;
			ChangeTex(2);
		}
	}