Atavism Version 2018.1AGIS API

atavism.server.events
Class DirLocOrientEvent

java.lang.Object
  extended by atavism.server.engine.Event
      extended by atavism.server.events.DirLocOrientEvent
All Implemented Interfaces:
EventParser

public class DirLocOrientEvent
extends Event


Constructor Summary
DirLocOrientEvent()
           
DirLocOrientEvent(AOByteBuffer buf, ClientConnection con)
           
DirLocOrientEvent(AOObject obj, AOVector dir, Point loc, Quaternion q, long time)
           
DirLocOrientEvent(OID objOid, BasicWorldNode wnode)
           
 
Method Summary
 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()
           
 
Methods inherited from class atavism.server.engine.Event
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()


Copyright © 2018 Dragonsan Studios Sp. z o.o.