Examples of onPutOnGround()


Examples of games.stendhal.server.entity.item.Item.onPutOnGround()

    if (object instanceof Item) {
      final Item item = (Item) object;
      if (player != null) {
        // let item decide what to do when it's thrown by a player
        item.onPutOnGround(player);
      } else {
        // otherwise follow expire
        item.onPutOnGround(expire);
      }
      itemsOnGround.add(item);
View Full Code Here

Examples of games.stendhal.server.entity.item.Item.onPutOnGround()

      if (player != null) {
        // let item decide what to do when it's thrown by a player
        item.onPutOnGround(player);
      } else {
        // otherwise follow expire
        item.onPutOnGround(expire);
      }
      itemsOnGround.add(item);
    }

    /*
 
View Full Code Here

Examples of games.stendhal.server.entity.item.Item.onPutOnGround()

      newItem.setPosition(x, y);
      if (newItem != item) {
        zone.add(newItem);
      }
      newItem.notifyWorldAboutChanges();
      newItem.onPutOnGround(player);

      new ItemLogger().displace(player, newItem, zone, oldX, oldY, x, y);
    } else {
      entity.setPosition(x, y);
      entity.notifyWorldAboutChanges();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.