public class DirLocOrientEvent extends Event
Constructor and Description |
---|
DirLocOrientEvent() |
DirLocOrientEvent(AOByteBuffer buf,
ClientConnection con) |
DirLocOrientEvent(AOObject obj,
AOVector dir,
Point loc,
Quaternion q,
long time) |
DirLocOrientEvent(OID objOid,
BasicWorldNode wnode) |
Modifier and Type | Method and Description |
---|---|
AOVector |
getDir() |
Point |
getLoc() |
java.lang.String |
getName() |
Quaternion |
getQuaternion() |
void |
parseBytes(AOByteBuffer buf)
load this event from the passed in buffer
called by the constructor
|
void |
setDir(AOVector v) |
void |
setLoc(Point p) |
void |
setQuaternion(Quaternion q) |
AOByteBuffer |
toBytes() |
java.lang.String |
toString() |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid
public DirLocOrientEvent()
public DirLocOrientEvent(AOByteBuffer buf, ClientConnection con)
public DirLocOrientEvent(AOObject obj, AOVector dir, Point loc, Quaternion q, long time)
public DirLocOrientEvent(OID objOid, BasicWorldNode wnode)
public AOByteBuffer toBytes()
public void parseBytes(AOByteBuffer buf)
Event
parseBytes
in interface EventParser
parseBytes
in class Event
public void setDir(AOVector v)
public AOVector getDir()
public void setLoc(Point p)
public Point getLoc()
public void setQuaternion(Quaternion q)
public Quaternion getQuaternion()