com.planet_ink.coffee_mud.Common.interfaces
Class CoffeeShop.ShelfProduct

java.lang.Object
  extended by com.planet_ink.coffee_mud.Common.interfaces.CoffeeShop.ShelfProduct
Enclosing interface:
CoffeeShop

public static class CoffeeShop.ShelfProduct
extends java.lang.Object

Class for representing a shelf product, holding an item prototype, the number in stock, and the price. A price of -1 means to use the items calculated value (common).


Field Summary
 int number
           
 int price
           
 Environmental product
           
 
Constructor Summary
CoffeeShop.ShelfProduct(Environmental E, int number, int price)
           
 
Method Summary
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

product

public Environmental product

number

public int number

price

public int price
Constructor Detail

CoffeeShop.ShelfProduct

public CoffeeShop.ShelfProduct(Environmental E,
                               int number,
                               int price)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object