|
|||||||||
| Version 1.5 | APIs subject to change! | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmultiverse.server.engine.BasicWorldNode
public class BasicWorldNode
This is the form of the world node that can be passed around from plugin to plugin, because it doesn't depend on being interpolatable. It contains a location, direction and orientation.
| Field Summary | |
|---|---|
protected MVVector |
dir
The node direction. |
protected long |
instanceOid
|
protected Point |
loc
The node location. |
protected Quaternion |
orient
The node orientation. |
| Constructor Summary | |
|---|---|
BasicWorldNode()
The no-args constructor required by marshalling. |
|
BasicWorldNode(InterpolatedWorldNode inode)
Build a BasicWorldNode from an InterpolatedWorldNode. |
|
| Method Summary | |
|---|---|
MVVector |
getDir()
Getter for the node direction. |
long |
getInstanceOid()
|
Point |
getLoc()
Getter for the node location. |
Quaternion |
getOrientation()
Getter for the node orientation. |
void |
setDir(MVVector dir)
Setter for the node direction. |
void |
setInstanceOid(long oid)
|
void |
setLoc(Point loc)
Setter for the node location. |
void |
setOrientation(Quaternion orient)
Setter for the node orientation. |
protected void |
setupTransient()
There is no lock associated with a BasicWorldNode, so there is nothing for setupTransient to do. |
java.lang.String |
toString()
Create a human-readable representation of the node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long instanceOid
protected Point loc
protected MVVector dir
protected Quaternion orient
| Constructor Detail |
|---|
public BasicWorldNode()
public BasicWorldNode(InterpolatedWorldNode inode)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectprotected void setupTransient()
public long getInstanceOid()
getInstanceOid in interface IBasicWorldNodepublic void setInstanceOid(long oid)
setInstanceOid in interface IBasicWorldNodepublic Point getLoc()
getLoc in interface IBasicWorldNodepublic void setLoc(Point loc)
setLoc in interface IBasicWorldNodeloc - The new location.public Quaternion getOrientation()
getOrientation in interface IBasicWorldNodepublic void setOrientation(Quaternion orient)
setOrientation in interface IBasicWorldNodeorient - The current 0rientation.public MVVector getDir()
getDir in interface IBasicWorldNodepublic void setDir(MVVector dir)
setDir in interface IBasicWorldNodedir - The new direction.
|
Copyright © 2008 The Multiverse Network, Inc. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||