public void update(GameContainer gc, int delta) {
		try {
			super.update(gc, delta);
		} catch (SlickException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
		if(check("shoot") && canShoot) {
			milliCount += delta;
			while(milliCount > milliStep) {
				milliCount -= milliStep;
				millis -= milliStep;
			}
			if(millis <= 0) {
				Bullet b = new Bullet(x + 20, y);
				ME.world.add(b);
				b.depth += 2;
				millis = fireRate;
			}
		}
		
		
		
		if(check("right") && x < 535) {
			x += (speed * delta);
		}
		if(check("left") && x > 0) {
			x -= (speed * delta);
		}
		if(check("up") && y > 0) {
			y -= (speed * delta);
		}
		if(check("down") && y < 505) {
			y += (speed *delta);
		}
		if(collide("asteroid", x, y) != null) {
			health -= 1;
		}
		if(collide("alien", x, y) != null) {
			health -= 1;
		}
		if(timer > 750) {
			speed += .1;
			timer = 0;
		}
		
	}