|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is for objects that can be Readied, such as wands and bows.
Method Summary | |
boolean |
canReady(Commandable agent)
Checks if the specified Commandable may ready the object. |
boolean |
canUnready(Commandable agent)
Checks whether the specified agent may unready the object, assuming they've already got it readied. |
boolean |
isReadied()
Returns true if this object is currently readied. |
void |
notifyReady(Commandable agent)
Notifies the Readyable object that the agent has readied it. |
void |
notifyUnready(Commandable agent)
Unreadies the object. |
Method Detail |
public boolean canReady(Commandable agent)
agent
- the Commandable trying to ready the object
public boolean canUnready(Commandable agent)
agent
- the person who has the item readied
public void notifyReady(Commandable agent)
agent
- the agent using itpublic void notifyUnready(Commandable agent)
agent
- the agent using the objectpublic boolean isReadied()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |