Package com.prineside.tdi2.managers
Class ScriptManager
java.lang.Object
com.prineside.tdi2.Manager.ManagerAdapter
com.prineside.tdi2.managers.ScriptManager
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,Manager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface com.prineside.tdi2.Manager
Manager.ManagerAdapter, Manager.ManagerWithListeners<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.utils.IntMap<Globals>
static com.badlogic.gdx.utils.ObjectMap<String,
ScriptProxyCreator> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
registerInstance
(int instanceId, Globals globals) void
setup()
Вызывается, когда объекты всех менеджеров созданы и можно к ним обращатьсяvoid
unregisterInstance
(int instanceId) Methods inherited from class com.prineside.tdi2.Manager.ManagerAdapter
clearPools, dispose, postRender, preRender, test
-
Field Details
-
global
-
globalsInstances
-
SCRIPT_PROXIES
-
-
Constructor Details
-
ScriptManager
public ScriptManager()
-
-
Method Details
-
registerInstance
-
unregisterInstance
public void unregisterInstance(int instanceId) -
getFreeInstanceId
public int getFreeInstanceId() -
setup
public void setup()Description copied from interface:Manager
Вызывается, когда объекты всех менеджеров созданы и можно к ним обращаться- Specified by:
setup
in interfaceManager
- Overrides:
setup
in classManager.ManagerAdapter
-