Class CreatureSpawner

java.lang.Object
games.stendhal.server.maps.deathmatch.CreatureSpawner

public class CreatureSpawner extends Object
This class spawns creatures during a deathmatch session.
Author:
hendrik
  • 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

      public Creature calculateNextCreature(int questLevel)
      Calculates which type of creature should be spawned next.
      Parameters:
      questLevel - level of creature / deathmatch status
      Returns:
      creature template