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> com.badlogic.gdx.utils.Array<Method> getMethods(String methodName) booleancom.badlogic.gdx.utils.Array<ConsoleManager.Message> messages()unwrapShortcut(String command)
-
Constructor Details
-
ConsoleManager
public ConsoleManager()
-
-
Method Details
-
addCommandToHistory
-
cmdHistory
-
messages
-
hasMethod
-
getMethods
-
methodMap
-
shortcutMap
-
unwrapShortcut
-