Class TutorialRunner

java.lang.Object
games.stendhal.server.core.engine.TutorialRunner
All Implemented Interfaces:
LoginListener, LogoutListener

public class TutorialRunner extends Object implements LoginListener, LogoutListener
Listens for players that have not completed tutorial.
  • Method Details

    • get

      public static TutorialRunner get()
    • onLoggedIn

      public void onLoggedIn(Player player)
      Initializes tutorial sequence if player has not completed tutorial quest.
      Specified by:
      onLoggedIn in interface LoginListener
      Parameters:
      player - the player who has logged in
    • onLoggedOut

      public void onLoggedOut(Player player)
      Removes tutorial zone from world.
      Specified by:
      onLoggedOut in interface LogoutListener
      Parameters:
      player - The player having logged out.