Class ConsoleManager
java.lang.Object
gaiasky.script.ConsoleManager
Manages the Gaia Sky console/terminal, keeps its history and more. The console accepts all calls defined in
IScriptingInterface. Aliases to
the
most useful calls are defined in shortcutMap, and can be used as shortcuts.
The user interface part of the console in implemented in ConsoleInterface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA single console message.static enumType of console message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.badlogic.gdx.utils.Array<String> getInstance(String path) com.badlogic.gdx.utils.Array<Method> getMethods(String methodName) booleancom.badlogic.gdx.utils.Array<ConsoleManager.Message> messages()methodMapAPIv2(String module) unwrapShortcut(String command)
-
Constructor Details
-
ConsoleManager
-
-
Method Details
-
addCommandToHistory
-
cmdHistory
-
messages
-
hasMethod
-
getMethods
-
methodMap
-
methodMapAPIv1
-
methodMapAPIv2
-
methodMapAPIv2
-
shortcutMap
-
getInstance
-
unwrapShortcut
-