PulpCore

pulpcore.animation.event
Class AddSpriteEvent

java.lang.Object
  extended by pulpcore.animation.Animation
      extended by pulpcore.animation.event.TimelineEvent
          extended by pulpcore.animation.event.AddSpriteEvent
All Implemented Interfaces:
Runnable

public class AddSpriteEvent
extends TimelineEvent

An AddSpriteEvent is a TimelineEvent that adds a Sprite to a Group after a specified delay.


Field Summary
 
Fields inherited from class pulpcore.animation.Animation
LOOP_FOREVER
 
Constructor Summary
AddSpriteEvent(Group group, Sprite sprite, int delay)
           
 
Method Summary
 void run()
           
 
Methods inherited from class pulpcore.animation.event.TimelineEvent
hasExecuted, updateState
 
Methods inherited from class pulpcore.animation.Animation
fastForward, getDuration, getEasing, getLoopDelay, getNumLoops, getStartDelay, getTime, getTotalDuration, isFinished, loop, loop, loopForever, loopForever, rewind, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddSpriteEvent

public AddSpriteEvent(Group group,
                      Sprite sprite,
                      int delay)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimelineEvent

PulpCore

Copyright © 2007-2009 Interactive Pulp, LLC.