public void update(float gameTime, Camera camera)
  { 
    if (isDead && !isBonus && !name.equals("flower_monster"))
    {
      sprite.play("dead");
      return;
    }
    super.update(gameTime, camera); 
    distanceTraveled += speed;
     //Update the distance the character is traveled since it turned around
    //Once the character has traveled it's patrol distance turn it around, and reset the distance traveled
    if(!isBonus)
    {
        if(!name.equals("flower_monster"))
        {
        if (distanceTraveled >= distance)
        {
                if (this.direction == Direction.Right)
                  this.direction = Direction.Left;
              else if (this.direction == Direction.Left)
      		  this.direction = Direction.Right;
                  distanceTraveled = 0;
        }
    }
    //Move the character in the direction traveled
    if (direction == Direction.Right)
      this.applyForce(speed,0);
    else if(direction == Direction.Left)
      this.applyForce(-speed,0);
    }else
    {
        if (direction == Direction.Right)
      this.applyForce(speed,1);
    else if(direction == Direction.Left)
      this.applyForce(-speed,1);
    }
  }