Class ItemFireExtinguisher

    • Constructor Detail

      • ItemFireExtinguisher

        public ItemFireExtinguisher()
        Creates a new ItemFireExtinguisher.
    • Method Detail

      • getItemRating

        public int getItemRating()
        Returns an item value for ComputerFigures rating in the items category.
        Overrides:
        getItemRating in class Item
        Returns:
        energy * 200.
      • getFigureOverlayImageName

        public java.lang.String getFigureOverlayImageName​(AnimationInfo animation)
        Gets an image name for painting on the figure. Returns null by default for no overlay image.
        Overrides:
        getFigureOverlayImageName in class ItemPermanent
        Parameters:
        animation - The AnimationInfo.
        Returns:
        The overlay image name or null for no overlay.
      • getDrawText

        public java.lang.String getDrawText()
        Returns a display string for UI. Might be null
        Overrides:
        getDrawText in class Item
        Returns:
        DURATIONx.