Class Debuggera.SightseeingAction

java.lang.Object
games.stendhal.server.script.Debuggera.SightseeingAction
All Implemented Interfaces:
TurnListener, ChatAction, PostTransitionAction
Enclosing class:
Debuggera

public class Debuggera.SightseeingAction extends Object implements ChatAction, TurnListener
  • Constructor Details

  • Method Details

    • fire

      public void fire(Player player, Sentence sentence, EventRaiser raiser)
      Description copied from interface: PostTransitionAction
      does some action after a transition.
      Specified by:
      fire in interface ChatAction
      Specified by:
      fire in interface PostTransitionAction
      Parameters:
      player - player who caused the transition
      sentence - text he/she said
      raiser - 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 interface TurnListener
      Parameters:
      currentTurn - current turn number