Package games.stendhal.server.entity.item

Examples of games.stendhal.server.entity.item.Food


   * @param corpse
   *            The corpse on which to put the meat
   */
  @Override
  protected void dropItemsOn(final Corpse corpse) {
    final Food food = (Food) SingletonRepository.getEntityManager().getItem("meat");
    food.setQuantity(getWeight() / 10 + 1);
    corpse.add(food);
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.item.Food

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.