Class GuiComponent

    • Field Summary

      Modifier and Type Field Description
      protected com.badlogic.gdx.scenes.scene2d.Actor component  
      protected float pad  
      protected com.badlogic.gdx.scenes.scene2d.ui.Skin skin  
      protected float space1  
      protected float space2  
      protected float space3  
      protected float space4  
      protected float space6  
      protected float space8  
      protected com.badlogic.gdx.scenes.scene2d.Stage stage  
    • Constructor Summary

      Constructor Description
      GuiComponent​(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void dispose()
      Disposes the component
      com.badlogic.gdx.scenes.scene2d.Actor getActor()  
      protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup group​(com.badlogic.gdx.scenes.scene2d.Actor ac1, com.badlogic.gdx.scenes.scene2d.Actor ac2, float sp)  
      abstract void initialize()
      Initialises the component
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • component

        protected com.badlogic.gdx.scenes.scene2d.Actor component
      • skin

        protected com.badlogic.gdx.scenes.scene2d.ui.Skin skin
      • stage

        protected com.badlogic.gdx.scenes.scene2d.Stage stage
      • pad

        protected float pad
      • space8

        protected float space8
      • space6

        protected float space6
      • space4

        protected float space4
      • space3

        protected float space3
      • space2

        protected float space2
      • space1

        protected float space1
    • Constructor Detail

      • GuiComponent

        public GuiComponent​(com.badlogic.gdx.scenes.scene2d.ui.Skin skin,
                            com.badlogic.gdx.scenes.scene2d.Stage stage)
    • Method Detail

      • initialize

        public abstract void initialize()
        Initialises the component
      • getActor

        public com.badlogic.gdx.scenes.scene2d.Actor getActor()
      • dispose

        public abstract void dispose()
        Disposes the component
      • group

        protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup group​(com.badlogic.gdx.scenes.scene2d.Actor ac1,
                                                                         com.badlogic.gdx.scenes.scene2d.Actor ac2,
                                                                         float sp)