atavism.server.events
Class NotifyPlayAnimationEvent
java.lang.Object
atavism.server.engine.Event
atavism.server.events.NotifyPlayAnimationEvent
- All Implemented Interfaces:
- EventParser
public class NotifyPlayAnimationEvent
- extends Event
object *IS* playing an animation - this event says other need to know about
this obj's animation - we have the list as part of the event because this
event may be serialized and the other server/client wont know what the list
should be
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NotifyPlayAnimationEvent
public NotifyPlayAnimationEvent()
NotifyPlayAnimationEvent
public NotifyPlayAnimationEvent(OID oid)
NotifyPlayAnimationEvent
public NotifyPlayAnimationEvent(AOByteBuffer buf,
ClientConnection con)
NotifyPlayAnimationEvent
public NotifyPlayAnimationEvent(AOObject object)
- the object is the object 'playing' the animation
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
addAnim
public void addAnim(AnimationCommand ac)
setAnimList
public void setAnimList(java.util.List<AnimationCommand> animList)
getAnimList
public java.util.List getAnimList()