Class FPanelCreatureIcons

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

class FPanelCreatureIcons extends FPanel
Panel that containt the creature icons.
Author:
Hydrolien
  • Field Details

    • iconsList

      private fr.formiko.usual.structures.listes.Liste<BufferedImage> iconsList
    • label

      private FLabel label
    • xy

      private int xy
  • Constructor Details

    • FPanelCreatureIcons

      public FPanelCreatureIcons(int xy)
      Main constructor.
  • Method Details

    • addIcon

      public void addIcon(BufferedImage bi)
      Add an icon at the liste of icon to print.
    • setText

      public void setText(String s)
      Aet the text of the FLabel.
    • paintComponent

      public void paintComponent(Graphics g)
      Paint every icon & the FLabel.
      Overrides:
      paintComponent in class FPanel