@Override
	public void keyRelease(int key) {
		// TODO Auto-generated method stub
		if (key == CharData.A&&this.rot == -1)
			this.rot = 0;
		if (key == CharData.D&&this.rot == 1)
			this.rot = 0;
		if(key == CharData.W&&ship.thrustX == 100) ship.thrustX = 0;
		if(key == CharData.S&&ship.thrustX == -100) ship.thrustX = 0;
	}