Class TexturedButton

    • Constructor Detail

      • TexturedButton

        public TexturedButton​(java.lang.String text,
                              java.awt.Rectangle bounds,
                              Texture texture)
      • TexturedButton

        public TexturedButton​(java.lang.String text,
                              java.awt.Rectangle bounds,
                              Texture texture,
                              boolean centerText)
    • Method Detail

      • draw

        public void draw()
        Specified by:
        draw in class Button
      • cleanup

        public void cleanup()
        Specified by:
        cleanup in class Button