Package games.stendhal.server.script
Class DumpTransitionsEx
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.DumpTransitionsEx
- All Implemented Interfaces:
Script
Dumps the transition table of an NPC for "dot" http://www.graphviz.org/ to
display a nice graph.
- Author:
- hendrik
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
DumpTransitionsEx
public DumpTransitionsEx()
-
-
Method Details
-
execute
Description copied from interface:Script
Executes this script.- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-
getDump
Returns the transition diagram as string.- Parameters:
npc
- SpeakerNPC- Returns:
- transition diagram
-