Package games.stendhal.server.script
Class AdosWildlifeRaid
java.lang.Object
games.stendhal.server.script.AdosWildlifeRaid
- All Implemented Interfaces:
TurnListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcreateSheep(StendhalRPZone zone) Creates a sheep for the Orcs to targetvoidcreateSoldier(StendhalRPZone zone, String name, int x, int y) Creates a soldiervoidcreateSoldiers(StendhalRPZone zone) Creates three soldiers to block the entrancevoidonTurnReached(int currentTurn) This method is called when the turn number is reached.void
-
Constructor Details
-
AdosWildlifeRaid
public AdosWildlifeRaid()
-
-
Method Details
-
createSoldier
Creates a soldier- Parameters:
zone- zonename- Name of the NPCx- x-postiony- y-postion
-
createSoldiers
Creates three soldiers to block the entrance- Parameters:
zone- zone
-
createSheep
Creates a sheep for the Orcs to target- Parameters:
zone- zone
-
onTurnReached
public void onTurnReached(int currentTurn) Description copied from interface:TurnListenerThis method is called when the turn number is reached.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- current turn number
-
createPortal
public void createPortal() -
shout
-
addToWorld
public void addToWorld()
-