Package games.stendhal.server.script
Class Debuggera.SightseeingAction
java.lang.Object
games.stendhal.server.script.Debuggera.SightseeingAction
- All Implemented Interfaces:
TurnListener,ChatAction,PostTransitionAction
- Enclosing class:
- Debuggera
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfire(Player player, Sentence sentence, EventRaiser raiser) does some action after a transition.voidonTurnReached(int currentTurn) This method is called when the turn number is reached.
-
Constructor Details
-
SightseeingAction
-
-
Method Details
-
fire
Description copied from interface:PostTransitionActiondoes some action after a transition.- Specified by:
firein interfaceChatAction- Specified by:
firein interfacePostTransitionAction- Parameters:
player- player who caused the transitionsentence- text he/she saidraiser- the NPC doing the transition
-
onTurnReached
public void onTurnReached(int currentTurn) Description copied from interface:TurnListenerThis method is called when the turn number is reached.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- current turn number
-