PulpCore

pulpcore.animation.event
Class SceneChangeEvent

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

public class SceneChangeEvent
extends TimelineEvent

A SceneChangeEvent is a TimelineEvent that changes scenes after a specific delay.


Field Summary
 
Fields inherited from class pulpcore.animation.Animation
LOOP_FOREVER
 
Constructor Summary
SceneChangeEvent(Scene nextScene, int delay)
           
SceneChangeEvent(Scene nextScene, int delay, boolean push)
           
 
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

SceneChangeEvent

public SceneChangeEvent(Scene nextScene,
                        int delay)

SceneChangeEvent

public SceneChangeEvent(Scene nextScene,
                        int delay,
                        boolean push)
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.