Bandidos
|
Public Member Functions | |
void | registerPopUp (BasePopUp popUp) |
void | unregisterPopUp (BasePopUp popUp) |
Static Public Member Functions | |
static PopUpSystem | getInstance () |
Static Public Attributes | |
static final int | POP_UP_SORT_LAYER_PLUS_UI = 200 |
This class is a singleton which handles all the setting of the BasePopUp instances which are created. It will handle that they are set in the correct layer and will keep track of their layer status It will also change the TouchInputHandler's layer if a cover pop-up is created
|
static |
void com.mygdx.game.popUpSystem.PopUpSystem.registerPopUp | ( | BasePopUp | popUp | ) |
Registers a pop up into the system. The BasePopUp automatically calls this method when created
popUp | to register. |
void com.mygdx.game.popUpSystem.PopUpSystem.unregisterPopUp | ( | BasePopUp | popUp | ) |
Unregisters a pop up from the system. The BasePopUp automatically calls this method when destroyed
popUp | to unregister. |
|
static |
This layer is the layer where the Pop Ups will be rendered on + UI layering