Package games.stendhal.server.entity.creature

Examples of games.stendhal.server.entity.creature.ArenaCreature


   * @param deathmatchInfo the deatchmatch's info
   * @return Creature or <code>null</code> in case it cannot be created
   */
  DeathMatchCreature spawnNewCreature(final Creature template, final Player player, final DeathmatchInfo deathmatchInfo) {
    DeathMatchCreature creature = new DeathMatchCreature(
            new ArenaCreature(template.getNewInstance(), deathmatchInfo.getArena().getShape()));

    if (StendhalRPAction.placeat(deathmatchInfo.getZone(), creature, player.getX(), player.getY(), deathmatchInfo.getArena().getShape())) {
      creature.clearDropItemList();
      creature.setTarget(player);
      creature.setPlayerToReward(player);
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.creature.ArenaCreature

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.