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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fire(Player player, Sentence sentence, EventRaiser raiser)
does some action after a transition.void
onTurnReached(int currentTurn)
This method is called when the turn number is reached.
-
Constructor Details
-
SightseeingAction
-
-
Method Details
-
fire
Description copied from interface:PostTransitionAction
does some action after a transition.- Specified by:
fire
in interfaceChatAction
- Specified by:
fire
in 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:TurnListener
This method is called when the turn number is reached.- Specified by:
onTurnReached
in interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-