atavism.server.events
Class DirLocOrientEvent
java.lang.Object
atavism.server.engine.Event
atavism.server.events.DirLocOrientEvent
- All Implemented Interfaces:
- EventParser
public class DirLocOrientEvent
- extends Event
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirLocOrientEvent
public DirLocOrientEvent()
DirLocOrientEvent
public DirLocOrientEvent(AOByteBuffer buf,
ClientConnection con)
DirLocOrientEvent
public DirLocOrientEvent(AOObject obj,
AOVector dir,
Point loc,
Quaternion q,
long time)
DirLocOrientEvent
public DirLocOrientEvent(OID objOid,
BasicWorldNode wnode)
getName
public java.lang.String getName()
- Specified by:
getName
in class Event
toString
public java.lang.String toString()
- Overrides:
toString
in class Event
toBytes
public AOByteBuffer toBytes()
- Specified by:
toBytes
in class Event
parseBytes
public void parseBytes(AOByteBuffer buf)
- Description copied from class:
Event
- load this event from the passed in buffer
called by the constructor
- Specified by:
parseBytes
in interface EventParser
- Specified by:
parseBytes
in class Event
setDir
public void setDir(AOVector v)
getDir
public AOVector getDir()
setLoc
public void setLoc(Point p)
getLoc
public Point getLoc()
setQuaternion
public void setQuaternion(Quaternion q)
getQuaternion
public Quaternion getQuaternion()