|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorldEntity
WorldEntity interface represents entities of a Molwind world.
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the attribute with the given name. |
int |
getDimension()
Returns int for the bigness of the entity |
java.util.Iterator |
getRelationships()
Returns an iterator of relationship objects. |
void |
putAttribute(java.lang.String name,
java.lang.Object value)
Sets the value of the attribute with the given name. |
Method Detail |
---|
java.util.Iterator getRelationships()
java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attribute
void putAttribute(java.lang.String name, java.lang.Object value)
name
- the name of the attributevalue
- the value of the attributeint getDimension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |