public SpriteCharacter(double x, double y, int maxX, SpriteAnimation animation)
	{
		this.x = x;
		this.y = y;
		this.momentumY = 1;
		this.momentumX = 0;
		this.direction = new Direction(90);
		this.maxX = maxX;
		this.jumpIncrement = 0.005;
		this.floor = y;
		this.jumpLimit = 2;
		this.jumpCount = 0;
		this.animation = animation;
		
		this.isAlive = true;
		this.willKill = false;
		
		mouseLocationX = (int)x;
		mouseLocationY = (int)y;
		
		// Draw the gun in the middle of the player.
		gunSpriteX = animation.getSprite().getWidth() / 2;
		gunSpriteY = animation.getSprite().getHeight() / 2;
		

	}