Class AdosWildlifeRaid

java.lang.Object
games.stendhal.server.script.AdosWildlifeRaid
All Implemented Interfaces:
TurnListener

public class AdosWildlifeRaid extends Object implements TurnListener
  • Constructor Details

    • AdosWildlifeRaid

      public AdosWildlifeRaid()
  • Method Details

    • createSoldier

      public void createSoldier(StendhalRPZone zone, String name, int x, int y)
      Creates a soldier
      Parameters:
      zone - zone
      name - Name of the NPC
      x - x-postion
      y - y-postion
    • createSoldiers

      public void createSoldiers(StendhalRPZone zone)
      Creates three soldiers to block the entrance
      Parameters:
      zone - zone
    • createSheep

      public void createSheep(StendhalRPZone zone)
      Creates a sheep for the Orcs to target
      Parameters:
      zone - zone
    • 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
    • createPortal

      public void createPortal()
    • shout

      public void shout(String text)
    • addToWorld

      public void addToWorld()