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

Cable Class Reference

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

List of all members.

Public Member Functions

void setup ()
void draw ()
void update ()
int onspark (int locx, int locy)

Public Attributes

int c1
int c2
int x1
int y1
int x2
int y2
int x
int y
float fx
float fy
int delay
int active
int index


Member Function Documentation

void Cable::draw  ) 
 

Definition at line 87 of file Cable.cc.

References active, UI::draw(), UI::draw_line(), Spark::height, index, Spark::pictures, spark, ui, Spark::width, x, x1, x2, y, y1, and y2.

Referenced by Network::draw().

int Cable::onspark int  locx,
int  locy
 

Definition at line 81 of file Cable.cc.

References abs, active, Spark::height, spark, Spark::width, x, and y.

Referenced by Game::button_release().

void Cable::setup  ) 
 

Definition at line 3 of file Cable.cc.

References active, c1, c2, Network::computers, Spark::delay(), delay, game, Network::height, index, Game::level, net, Game::RAND(), spark, Network::units, Network::width, Computer::x, x1, x2, Computer::y, y1, and y2.

Referenced by Network::setup().

void Cable::update  ) 
 

Definition at line 16 of file Cable.cc.

References abs, active, Network::base, Computer::busy, c1, c2, Network::computers, Spark::delay(), delay, fx, fy, game, index, Game::level, Game::MAX(), net, Network::off, Library::OFF, Computer::os, OS, spark, Spark::speed, Network::win, Library::WINGDOWS, x, x1, x2, y, y1, and y2.

Referenced by Network::update().


Member Data Documentation

int Cable::active
 

Definition at line 11 of file Cable.h.

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

int Cable::c1
 

Definition at line 6 of file Cable.h.

Referenced by setup(), and update().

int Cable::c2
 

Definition at line 6 of file Cable.h.

Referenced by setup(), and update().

int Cable::delay
 

Definition at line 10 of file Cable.h.

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

float Cable::fx
 

Definition at line 9 of file Cable.h.

Referenced by update().

float Cable::fy
 

Definition at line 9 of file Cable.h.

Referenced by update().

int Cable::index
 

Definition at line 12 of file Cable.h.

Referenced by draw(), setup(), and update().

int Cable::x
 

Definition at line 8 of file Cable.h.

Referenced by draw(), onspark(), and update().

int Cable::x1
 

Definition at line 7 of file Cable.h.

Referenced by draw(), setup(), and update().

int Cable::x2
 

Definition at line 7 of file Cable.h.

Referenced by draw(), setup(), and update().

int Cable::y
 

Definition at line 8 of file Cable.h.

Referenced by draw(), onspark(), and update().

int Cable::y1
 

Definition at line 7 of file Cable.h.

Referenced by draw(), setup(), and update().

int Cable::y2
 

Definition at line 7 of file Cable.h.

Referenced by draw(), setup(), and update().


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