atavism.server.events
Class LoadingStateEvent
java.lang.Object
atavism.server.engine.Event
atavism.server.events.LoadingStateEvent
- All Implemented Interfaces:
- EventParser
public class LoadingStateEvent
- extends Event
tells the client when we start and stop loading a new scene
Methods inherited from class atavism.server.engine.Event |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LoadingStateEvent
public LoadingStateEvent()
LoadingStateEvent
public LoadingStateEvent(AOByteBuffer buf,
ClientConnection con)
LoadingStateEvent
public LoadingStateEvent(boolean loading)
getName
public java.lang.String getName()
- Specified by:
getName
in class Event
setLoading
public void setLoading(boolean loading)
getLoading
public boolean getLoading()
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