private void followPlayer()
	{
		if(moving) 
		{
			if(x > GameCore.spawnEngine.getPlayer().getX()) 
			{
				x -= movementSpeed;
				spriteX = 0;
				spriteY = 32;
			} else if(x < GameCore.spawnEngine.getPlayer().getX())
			{
				x += movementSpeed;
				spriteX = 32;
				spriteY = 32;
			}
			if(y > GameCore.spawnEngine.getPlayer().getY()) 
			{
				y -= movementSpeed;
			} else if(y < GameCore.spawnEngine.getPlayer().getY())
			{
				y += movementSpeed;
			}
		}
	}