Package games.stendhal.server.entity.mapstuff.spawner

Examples of games.stendhal.server.entity.mapstuff.spawner.CreatureRespawnPoint


        final EntityManager manager = SingletonRepository.getEntityManager();

        // Is the entity a creature
        if (manager.isCreature(clazz, type)) {
          final Creature creature = manager.getCreature(clazz, type);
          final CreatureRespawnPoint point = new CreatureRespawnPoint(this,
              x, y, creature, 1);
          add(point);
        } else {
          logger.error("Unknown Entity (class/type: " + clazz + ":"
              + type + ") at (" + x + "," + y + ") of " + getID()
View Full Code Here


    item.setWeight(1);
    item.setEquipableSlots(slots);
    manager.addItem(item);   
   
    final Creature creature = new ItemGuardCreature(manager.getCreature("rat"), "golden key");
    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 40, 5, creature, 1);
    zone.add(point);
  }
View Full Code Here

    zone.add(point);
  }

  private void attackableAnimal(final StendhalRPZone zone, final Map<String, String> attributes) {
    Creature creature = new AttackableCreature(manager.getCreature("orc"));
    CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 4, 56, creature, 1);
    point.setRespawnTime(60 * 60 * 3);
    zone.add(point);

    creature = manager.getCreature("deer");
    point = new CreatureRespawnPoint(zone, 14, 56, creature, 1);
    point.setRespawnTime(60 * 60 * 3);
    zone.add(point);
  }
 
View Full Code Here

  }

  private void buildTwilightArea(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();
    final Creature creature = new ItemGuardCreature(manager.getCreature("twilight slime"), "twilight elixir", "mithril_cloak", "twilight_zone");
    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 5, 5, creature, 1);
    zone.add(point);
  }
View Full Code Here

  private void buildQuicksandArea(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();

    final Creature creature = new ItemGuardCreature(manager.getCreature("minotaur"), "minotaur key");

    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 121, 121, creature, 1);

    zone.add(point);
  }
View Full Code Here

  private void buildLabyrinth(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();

    final Creature creature = new ItemGuardCreature(manager.getCreature("minotaur king"), "kokuda");

    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 58, 55, creature, 1);

    zone.add(point);
  }
View Full Code Here

  }

  private void buildDrowTunnelArea(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();
    final Creature creature = new ItemGuardCreature(manager.getCreature("thing"), "amulet", "kill_dark_elves", null);
    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 32, 5, creature, 1);
    zone.add(point);
  }
View Full Code Here

  private void buildAssassinIdGuy(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();

    final Creature creature = new ItemGuardCreature(manager.getCreature("disciple assassin"), "assassins id");

    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 242, 41, creature, 1);

    zone.add(point);
  }
View Full Code Here

  private void buildLichPalace(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();
    final Creature creature = new ItemGuardCreature(manager.getCreature("demon skeleton"), "lich gold key");

    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 54, 48, creature, 1);

    zone.add(point);
  }
View Full Code Here

  }

  private void buildCastleDungeonArea(final StendhalRPZone zone, final Map<String, String> attributes) {
    final EntityManager manager = SingletonRepository.getEntityManager();
    final Creature creature = new ItemGuardCreature(manager.getCreature("green dragon"), "dungeon silver key");
    final CreatureRespawnPoint point = new CreatureRespawnPoint(zone, 69, 43, creature, 1);
    zone.add(point);
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.mapstuff.spawner.CreatureRespawnPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.