Class CreatureSpawner
java.lang.Object
games.stendhal.server.maps.deathmatch.CreatureSpawner
This class spawns creatures during a deathmatch session.
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateNextCreature(int questLevel)
Calculates which type of creature should be spawned next.void
Removes the critters that the player was supposed to kill.
-
Constructor Details
-
CreatureSpawner
public CreatureSpawner()Creates a new CreatureSpawner.
-
-
Method Details
-
removePlayersMonsters
public void removePlayersMonsters()Removes the critters that the player was supposed to kill. -
calculateNextCreature
Calculates which type of creature should be spawned next.- Parameters:
questLevel
- level of creature / deathmatch status- Returns:
- creature template
-