org.robokind.impl.animation.messaging
Class PortableAnimationEvent
java.lang.Object
org.robokind.impl.animation.messaging.PortableAnimationEvent
- All Implemented Interfaces:
- AnimationEvent
public class PortableAnimationEvent
- extends Object
- implements AnimationEvent
AnimationEvent which wraps an AnimationEventRecord.
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableAnimationEvent
public PortableAnimationEvent(AnimationEventRecord eventRec)
PortableAnimationEvent
public PortableAnimationEvent(AnimationEvent event)
PortableAnimationEvent
public PortableAnimationEvent(String sourceId,
String destinationId,
long currentTime,
Animation anim)
getSourceId
public String getSourceId()
- Specified by:
getSourceId in interface AnimationEvent
getDestinationId
public String getDestinationId()
- Specified by:
getDestinationId in interface AnimationEvent
getCurrentTimeMillisec
public Long getCurrentTimeMillisec()
- Specified by:
getCurrentTimeMillisec in interface AnimationEvent
getAnimation
public Animation getAnimation()
- Specified by:
getAnimation in interface AnimationEvent
getRecord
public AnimationEventRecord getRecord()
Copyright © 2011-2013. All Rights Reserved.