org.robokind.api.animation.protocol
Interface AnimationEvent


public interface AnimationEvent

An Animation with messaging metadata

Author:
Matthew Stevenson

Nested Class Summary
static interface AnimationEvent.AnimationEventFactory
           
 
Method Summary
 Animation getAnimation()
          Returns the Animation associated with this AnimationEvent.
 Long getCurrentTimeMillisec()
          Returns the timestamp of the AnimationEvent.
 String getDestinationId()
          Returns the id String for the destination of the AnimationEvent.
 String getSourceId()
          Returns the id String for the source of the AnimationEvent.
 

Method Detail

getSourceId

String getSourceId()
Returns the id String for the source of the AnimationEvent.

Returns:
id String for the source of the AnimationEvent

getDestinationId

String getDestinationId()
Returns the id String for the destination of the AnimationEvent.

Returns:
id String for the destination of the AnimationEvent

getCurrentTimeMillisec

Long getCurrentTimeMillisec()
Returns the timestamp of the AnimationEvent.

Returns:
timestamp of the AnimationEvent

getAnimation

Animation getAnimation()
Returns the Animation associated with this AnimationEvent.

Returns:
Animation associated with this AnimationEvent


Copyright © 2011-2013. All Rights Reserved.