Main Page   Packages   Alphabetical List   Compound List   File List   Compound Members  

SplashTrigger Class Reference

List of all members.

Detailed Description

This trigger is responsible for calling advanceFrame() on a SplashScreen object.


Public Member Functions

 SplashTrigger (SplashScreen g, int frameDelay)
 Constructor.

void stopTrigger ()
 Stops the trigger from functioning.

void run ()
 Starts the trigger running.


Private Attributes

SplashScreen splashScreen
 The SplashScreen where we call advanceFrame.

int frameDelay
 Time is miliseconds between frames.

boolean stopped
 Value which is true if the thread is to be stopped.


Constructor & Destructor Documentation

SplashTrigger.SplashTrigger SplashScreen  g,
int  frameDelay
 

Constructor.

Parameters:
g Canvas for wich to trigger frame updates.
frameDelay time in MS between frame updates.


Member Function Documentation

void SplashTrigger.run  ) 
 

Starts the trigger running.

  • To be called by the thead start() function call.

void SplashTrigger.stopTrigger  ) 
 

Stops the trigger from functioning.

(stops execution of the thread)


Member Data Documentation

int SplashTrigger.frameDelay [private]
 

Time is miliseconds between frames.

SplashScreen SplashTrigger.splashScreen [private]
 

The SplashScreen where we call advanceFrame.

boolean SplashTrigger.stopped [private]
 

Value which is true if the thread is to be stopped.


The documentation for this class was generated from the following file:
Generated on Tue May 13 00:53:03 2003 for PACMAN by doxygen1.3