Package games.stendhal.server.script
Class SokobanWatcher
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.SokobanWatcher
- All Implemented Interfaces:
TurnListener
,Script
-
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
-
Constructor Details
-
SokobanWatcher
public SokobanWatcher()
-
-
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.
-
unload
Description copied from interface:Script
Unloads this script.- Specified by:
unload
in interfaceScript
- Overrides:
unload
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-
onTurnReached
public void onTurnReached(int currentTurn)Description copied from interface:TurnListener
This method is called when the turn number is reached.- Specified by:
onTurnReached
in interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-