|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object us.asciiroth.client.core.Bag.Entry<T>
T
- public static class Bag.Entry<T extends Piece>
An entry in the bag. An entry keeps track of the number of items in the bag when there is more than one.
Method Summary | |
---|---|
void |
changeAmmo(int delta)
|
int |
getAmmo()
|
int |
getCount()
Get the number of items in the bag. |
T |
getPiece()
Get the item. |
void |
setPiece(T piece)
Set the item. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void changeAmmo(int delta)
public int getAmmo()
public int getCount()
public T getPiece()
public void setPiece(T piece)
piece
- public java.lang.String toString()
toString
in class java.lang.Object
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark