Class BuilderNPC
java.lang.Object
games.stendhal.server.maps.quests.revivalweeks.BuilderNPC
- All Implemented Interfaces:
TurnListener
,LoadableContent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adds the content to the world.void
onTurnReached(int currentTurn)
This method is called when the turn number is reached.boolean
try to remove the content from the world-
-
Constructor Details
-
BuilderNPC
public BuilderNPC()
-
-
Method Details
-
addToWorld
public void addToWorld()Description copied from interface:LoadableContent
adds the content to the world.- Specified by:
addToWorld
in interfaceLoadableContent
-
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
-
removeFromWorld
public boolean removeFromWorld()Description copied from interface:LoadableContent
try to remove the content from the world-- Specified by:
removeFromWorld
in interfaceLoadableContent
- Returns:
true
, if the content was removed,false
otherwise
-