|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object us.asciiroth.client.core.AbstractPiece us.asciiroth.client.items.AbstractItem us.asciiroth.client.items.Crowbar
public class Crowbar
A crowbar, can be used to open crates, and can also be used as a hammer.
Field Summary | |
---|---|
static Serializer<Crowbar> |
SERIALIZER
Type serializer. |
Method Summary | |
---|---|
void |
onHit(Event event,
Cell agentLoc,
Agent agent)
Item has touched an agent either as a result of being thrown against the agent, or as a result of the player walking into the agent while holding the item. |
Methods inherited from class us.asciiroth.client.items.AbstractItem |
---|
getDefiniteNoun, getIndefiniteNoun, onDeselect, onDrop, onFire, onSelect, onSteppedOn, onThrow, onThrowEnd, onUse |
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<Crowbar> SERIALIZER
Method Detail |
---|
public void onHit(Event event, Cell agentLoc, Agent agent)
Item
onHit
in interface Item
onHit
in class AbstractItem
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark