|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.vrspace.server.VRObject
org.vrspace.server.DBObject
org.vrspace.server.PublicDBObject
org.vrspace.server.OwnedDBObject
org.vrspace.server.object.Site
Site is part of Avatar, to which Items can be attached - i.e. palms.
Field Summary | |
int |
maxItems
max items that can be attached to this site |
float |
maxMass
max mass this site can carry |
java.lang.String |
name
site name |
float |
rotx
site rotation |
float |
roty
site rotation |
float |
rotz
site rotation |
float |
x
site translation relative to avatar root |
float |
y
site translation relative to avatar root |
float |
z
site translation relative to avatar root |
Fields inherited from class org.vrspace.server.DBObject |
db |
Fields inherited from class org.vrspace.server.VRObject |
db_id, primitiveMap, primitives |
Constructor Summary | |
Site()
|
Method Summary | |
void |
add(Item item)
add an Item to this site. |
Item |
get(java.lang.String name)
Look up this site for Item with this name. |
Item[] |
getAll()
Returns list of Items held by this site. |
Item |
remove(Item item)
Remove an Item from this site Not implemented. |
Item[] |
removeAll()
Remove all items from this site Not implemented. |
Methods inherited from class org.vrspace.server.OwnedDBObject |
addOwner, isOwned, notifyOwners, ownershipRequired, processEvent, removeOwner, sendEvent |
Methods inherited from class org.vrspace.server.PublicDBObject |
setValue |
Methods inherited from class org.vrspace.server.DBObject |
delete, get, put, put |
Methods inherited from class org.vrspace.server.VRObject |
arrayToString, canRead, canWrite, clone, equals, fieldToText, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String name
public float x
public float y
public float z
public float rotx
public float roty
public float rotz
public int maxItems
public float maxMass
Constructor Detail |
public Site()
Method Detail |
public void add(Item item)
public Item remove(Item item)
public Item get(java.lang.String name)
public Item[] getAll()
public Item[] removeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |