Class TutorialRunner
java.lang.Object
games.stendhal.server.core.engine.TutorialRunner
- All Implemented Interfaces:
LoginListener
,LogoutListener
Listens for players that have not completed tutorial.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TutorialRunner
get()
void
onLoggedIn(Player player)
Initializes tutorial sequence if player has not completed tutorial quest.void
onLoggedOut(Player player)
Removes tutorial zone from world.
-
Method Details
-
get
-
onLoggedIn
Initializes tutorial sequence if player has not completed tutorial quest.- Specified by:
onLoggedIn
in interfaceLoginListener
- Parameters:
player
- the player who has logged in
-
onLoggedOut
Removes tutorial zone from world.- Specified by:
onLoggedOut
in interfaceLogoutListener
- Parameters:
player
- The player having logged out.
-