java.lang.Object
java.util.Observable
org.vrspace.server.VRObject
org.vrspace.server.DBObject
org.vrspace.server.PublicDBObject
org.vrspace.server.OwnedDBObject
org.vrspace.server.object.Site
- All Implemented Interfaces:
- java.lang.Cloneable, org.vrspace.attributes.Owned
- public class Site
- extends org.vrspace.server.OwnedDBObject
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 |
|
Constructor Summary |
Site()
|
| Methods inherited from class org.vrspace.server.VRObject |
arrayToString, canRead, canWrite, clone, equals, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText |
name
public java.lang.String name
- site name
x
public float x
- site translation relative to avatar root
y
public float y
- site translation relative to avatar root
z
public float z
- site translation relative to avatar root
rotx
public float rotx
- site rotation
roty
public float roty
- site rotation
rotz
public float rotz
- site rotation
maxItems
public int maxItems
- max items that can be attached to this site
maxMass
public float maxMass
- max mass this site can carry
Site
public Site()
add
public void add(Item item)
- add an Item to this site.
Not implemented.
remove
public Item remove(Item item)
- Remove an Item from this site
Not implemented.
get
public Item get(java.lang.String name)
- Look up this site for Item with this name.
Not implemented.
getAll
public Item[] getAll()
- Returns list of Items held by this site.
Not implemented.
removeAll
public Item[] removeAll()
- Remove all items from this site
Not implemented.