|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectus.asciiroth.client.core.AbstractPiece
us.asciiroth.client.items.AbstractItem
us.asciiroth.client.items.AmmoBow
public class AmmoBow
A bow that shoots arrows.
| Field Summary | |
|---|---|
static Serializer<AmmoBow> |
SERIALIZER
Type serializer. |
| Constructor Summary | |
|---|---|
AmmoBow()
Constructor. |
|
| Method Summary | |
|---|---|
Item |
getAmmoType()
|
Item |
onFire(Event event)
If this item can fire any kind of projectile, it should return it when this method is executed. |
void |
onUse(Event event)
The player has used the item without indicating any particular direction for use. |
| Methods inherited from class us.asciiroth.client.items.AbstractItem |
|---|
getDefiniteNoun, getIndefiniteNoun, onDeselect, onDrop, onHit, onSelect, onSteppedOn, onThrow, onThrowEnd |
| Methods inherited from class us.asciiroth.client.core.AbstractPiece |
|---|
getColor, getName, getSymbol, is, not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface us.asciiroth.client.core.Piece |
|---|
getColor, getName, getSymbol, is, not |
| Field Detail |
|---|
public static final Serializer<AmmoBow> SERIALIZER
| Constructor Detail |
|---|
public AmmoBow()
| Method Detail |
|---|
public Item getAmmoType()
getAmmoType in interface ConsumesAmmopublic Item onFire(Event event)
Item
onFire in interface ItemonFire in class AbstractItempublic void onUse(Event event)
Item
onUse in interface ItemonUse in class AbstractItem
|
0.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
© 2009 Alx Dark