public int reduceHealth(int damage)
    {
      health = health - damage;
      if(health <= 0)
      {
        health = 0;
        dead = true;
      }
      if(health > maxHealth)
      {
        health = maxHealth;
      }
      return health;
    }