A B C D G H I L R S

A

addAlias(String, String) - Method in class data.scripts.console.Console
Registers an alias to be used in place of a longer command.
addScript(String, Script) - Static method in class data.scripts.console.Console
Registers a script to be executable with the RunScript command.
advance(SectorAPI, LocationAPI) - Method in class data.scripts.console.Console
Automatically called by the game - don't call this manually.

B

BaseCommand - Class in data.scripts.console
The basic command object that all console commands must extend.
BaseCommand() - Constructor for class data.scripts.console.BaseCommand
 

C

checkQueue() - Method in class data.scripts.console.Console
Runs any commands that are queued for execution.
COMMAND_PACKAGE - Static variable in class data.scripts.console.Console
The package all console commands must be in
COMMAND_SEPARATOR - Static variable in class data.scripts.console.Console
To enter multiple commands at once, separate them with the following
Console - Class in data.scripts.console
Executes commands and handles console output.
Console() - Constructor for class data.scripts.console.Console
 
CONSOLE_COLOR - Static variable in class data.scripts.console.Console
The color of messages posted by showMessage(java.lang.String)

D

data.scripts.console - package data.scripts.console
 
DEFAULT_CONSOLE_KEY - Static variable in class data.scripts.console.Console
This is the LWJGL constant of the default keyboard key to summon the console

G

getAliases(String) - Method in class data.scripts.console.Console
Returns all aliases associated with a command
getCombatEngine() - Method in class data.scripts.console.BaseCommand
A convenient alias for getCombatEngine().
getCombatEngine() - Static method in class data.scripts.console.Console
Returns the CombatEngineAPI used by in-battle commands.
getConsole() - Method in class data.scripts.console.BaseCommand
A convenient alias for getConsole().
getHelp() - Method in class data.scripts.console.BaseCommand
A block of text displayed via the 'help' command.
getLocation() - Method in class data.scripts.console.BaseCommand
Returns the current LocationAPI.
getLocation() - Method in class data.scripts.console.Console
Gets the current LocationAPI this console uses
getName() - Method in class data.scripts.console.BaseCommand
Returns the name of this command.
getScript(String) - Static method in class data.scripts.console.Console
Retrieve a script from RunScript's script storage.
getSector() - Method in class data.scripts.console.BaseCommand
Returns the current SectorAPI.
getStarSystem() - Method in class data.scripts.console.BaseCommand
Returns the current StarSystemAPI.
getSyntax() - Method in class data.scripts.console.BaseCommand
A line of text displayed when a command is entered incorrectly.
getVar(String, Class<T>) - Static method in class data.scripts.console.BaseCommand
A convenient alias for getVar(java.lang.String, java.lang.Class).
getVar(String, Class<T>) - Method in class data.scripts.console.Console
Retrieves the value of the variable varName, if any.
getVarType(String) - Static method in class data.scripts.console.BaseCommand
A convenient alias for getVarType(java.lang.String).
getVarType(String) - Method in class data.scripts.console.Console
Get the runtime type of the variable with the supplied name.

H

hasVar(String) - Static method in class data.scripts.console.BaseCommand
A convenient alias for hasVar(java.lang.String).
hasVar(String) - Method in class data.scripts.console.Console
Checks for the existence of a variable with the supplied name.

I

INPUT_FRAMERATE - Static variable in class data.scripts.console.Console
How often (in milliseconds) between polling the keyboard for input
isCombatOnly() - Method in class data.scripts.console.BaseCommand
Returns whether this command is restricted to battles only.
isInBattle() - Static method in class data.scripts.console.Console
Check if the player is on the battle map.

L

LINE_LENGTH - Static variable in class data.scripts.console.Console
How long a line can be before being split by showMessage(java.lang.String)

R

readResolve() - Method in class data.scripts.console.Console
Automatically called by the JRE - don't call this manually.
REBIND_KEY - Static variable in class data.scripts.console.Console
This is the LWJGL constant of the keyboard key which, combined with shift, rebinds the console
registerCommand(Class) - Method in class data.scripts.console.Console
Registers a command with the Console.
REQUIRE_DEV_MODE - Static variable in class data.scripts.console.Console
Does the console require devMode=true in settings.json to function?
REQUIRE_RUN_WINDOWED - Static variable in class data.scripts.console.Console
Does the console require the game to be run windowed to function?
RESTRICTED_KEYS - Static variable in class data.scripts.console.Console
A list of LWJGL keyboard constants that can't be bound to summon the console
runCommand(String) - Method in class data.scripts.console.BaseCommand
Run this command with the supplied arguments.

S

setCombatEngine(CombatEngineAPI) - Static method in class data.scripts.console.Console
Sets the CombatEngineAPI used by in-battle commands.
setInBattle(boolean) - Static method in class data.scripts.console.Console
Tells the Console whether to allow battle-only commands or not.
setVar(String, Object) - Static method in class data.scripts.console.BaseCommand
A convenient alias for setVar(java.lang.String, java.lang.Object).
setVar(String, Object) - Method in class data.scripts.console.Console
Creates/sets a persistent variable that can be accessed by all console commands.
SHOW_STACK_TRACE_ON_EXCEPTION - Static variable in class data.scripts.console.Console
Should we display the entire stack trace when an exception occurs?
showError(String, Exception) - Static method in class data.scripts.console.BaseCommand
A convenient alias for showError(java.lang.String, java.lang.Exception).
showError(String, Exception) - Static method in class data.scripts.console.Console
Displays information to the user about an exception that has occurred.
showHelp() - Method in class data.scripts.console.BaseCommand
Displays the helpfile returned by BaseCommand.getHelp().
showMessage(String, String, boolean) - Static method in class data.scripts.console.BaseCommand
A convenient alias for showMessage(java.lang.String, java.lang.String, boolean).
showMessage(String) - Static method in class data.scripts.console.BaseCommand
A convenient alias for showMessage(java.lang.String).
showMessage(String, String, boolean) - Static method in class data.scripts.console.Console
Formats and word-wraps the supplied text, then outputs it to the player.
showMessage(String) - Static method in class data.scripts.console.Console
Formats and word-wraps the supplied text, then outputs it to the player.
showSyntax() - Method in class data.scripts.console.BaseCommand
Displays the syntax returned by BaseCommand.getSyntax().

A B C D G H I L R S