Package games.stendhal.server.entity.item

Examples of games.stendhal.server.entity.item.ConsumableItem.consume()


      if (food.consumed()) {
        itemsToConsume.remove(0);
      } else {
        if (turn % food.getFrecuency() == 0) {
          logger.debug("Consumed item: " + food);
          final int amount = food.consume();
          if (isChoking()) {
            put("choking", amount);
          } else {
            if (has("choking")) {
              remove("choking");
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.