Package games.stendhal.server.script
Class AdosWildlifeRaid
java.lang.Object
games.stendhal.server.script.AdosWildlifeRaid
- All Implemented Interfaces:
TurnListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
createSheep(StendhalRPZone zone)
Creates a sheep for the Orcs to targetvoid
createSoldier(StendhalRPZone zone, String name, int x, int y)
Creates a soldiervoid
createSoldiers(StendhalRPZone zone)
Creates three soldiers to block the entrancevoid
onTurnReached(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:TurnListener
This method is called when the turn number is reached.- Specified by:
onTurnReached
in interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-
createPortal
public void createPortal() -
shout
-
addToWorld
public void addToWorld()
-