Class ManaIndicator

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener

public class ManaIndicator extends StatusDisplayBar implements PropertyChangeListener
A bar indicator component for mana.
See Also:
Serialized Form
  • Method Details

    • get

      public static ManaIndicator get()
      gets the instance
      Returns:
      ManaIndicator
    • setMana

      public void setMana(double mana)
      Set the mana value. This method may be called outside the event dispatch thread.
      Parameters:
      mana -
    • setBaseMana

      public void setBaseMana(double base_mana)
      Set the base_mana value. This method may be called outside the event dispatch thread.
      Parameters:
      base_mana -
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener