com.annahid.libs.artenus.scripting
ScriptHost
Interface for classes that interpret and execute scripts. If your game supports scripting, you
can implement this interface to take advantage of the script console user interface.
See Also:
public interface ScriptHost
Method Summary
Modifier and Type | Method and Description |
---|---|
public Object | execute(String command) Executes a script code |
public void | onExit() Called when the script console is closing. |
Method Detail
execute | ||
---|---|---|
public Object execute( String command ) Executes a script code Parameters:
Returns:
The result or null if there is not result |
onExit |
---|
public void onExit() Called when the script console is closing. It should free all resources allocated to the
script host. |