|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Charm
A Charm is any game affect. Examples include speed due to quaffing a potion of speed and being temporarily blinded by a flash of light.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Any attributes used to direct the course of this TemporaryCharm. |
Cause |
getCause()
The cause of this charm, for example quaffing a potion of speed. |
Thing |
getTarget()
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
|
void |
setCause(Cause c)
|
void |
setTarget(Thing target)
|
void |
startCharm()
Start this charm. |
Method Detail |
---|
void startCharm()
Cause getCause()
void setCause(Cause c)
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
void setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Thing getTarget()
void setTarget(Thing target)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |