Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spark Class Reference

#include </home/clem/local/src/opie/noncore/games/kbill/Spark.h>

Collaboration diagram for Spark:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void draw ()
void load_pix ()
int delay (unsigned int lev)

Public Attributes

Picture pictures [2]
int width
int height

Static Public Attributes

static const int speed = 5

Member Function Documentation

int Spark::delay unsigned int  lev  ) 
 

Definition at line 3 of file Spark.cc.

References game, and Game::MAX().

Referenced by Game::button_release(), Cable::setup(), and Cable::update().

void Spark::draw  ) 
 

void Spark::load_pix  ) 
 

Definition at line 7 of file Spark.cc.

References Picture::height, height, i, Picture::load(), pictures, Picture::width, and width.

Referenced by Game::main().


Member Data Documentation

int Spark::height
 

Definition at line 9 of file Spark.h.

Referenced by Cable::draw(), load_pix(), and Cable::onspark().

Picture Spark::pictures[2]
 

Definition at line 8 of file Spark.h.

Referenced by Cable::draw(), and load_pix().

const int Spark::speed = 5 [static]
 

Definition at line 12 of file Spark.h.

Referenced by Cable::update().

int Spark::width
 

Definition at line 9 of file Spark.h.

Referenced by Cable::draw(), load_pix(), and Cable::onspark().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:52:19 2005 for OPIE by  doxygen 1.4.2