java.lang.Object
games.stendhal.server.maps.quests.revivalweeks.BuilderNPC
All Implemented Interfaces:
TurnListener, LoadableContent

public class BuilderNPC extends Object implements LoadableContent, TurnListener
  • 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 interface LoadableContent
    • 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
    • removeFromWorld

      public boolean removeFromWorld()
      Description copied from interface: LoadableContent
      try to remove the content from the world-
      Specified by:
      removeFromWorld in interface LoadableContent
      Returns:
      true, if the content was removed, false otherwise