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

Man Class Reference

#include </home/clem/local/src/opie/noncore/games/parashoot/man.h>

Collaboration diagram for Man:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Man (QCanvas *)
 Man (QCanvas *, int x, int y)
 ~Man ()
void advance (int phase)
void setInitialCoords ()
void checkCollision ()
void start ()
void done ()
int rtti () const

Static Public Member Functions

static int getManCount ()
static void setManCount (int count)

Private Attributes

QCanvasPixmapArray * manarray
int dx
int dy
bool dead
int count
Sound splat

Constructor & Destructor Documentation

Man::Man QCanvas *   ) 
 

Definition at line 29 of file man.cpp.

References dead, Opie::Core::OResource::findPixmap(), manarray, mancount, QString::replace(), and start().

Man::Man QCanvas *  ,
int  x,
int  y
 

Definition at line 44 of file man.cpp.

References QTime::currentTime(), dead, FALSE, Opie::Core::OResource::findPixmap(), manarray, mancount, QString::replace(), QTime::secsTo(), and TRUE.

Man::~Man  ) 
 

Definition at line 186 of file man.cpp.

References mancount.


Member Function Documentation

void Man::advance int  phase  ) 
 

Definition at line 73 of file man.cpp.

References checkCollision(), count, dead, f, height, Opie::MM::x, and Opie::MM::y.

void Man::checkCollision  ) 
 

Definition at line 117 of file man.cpp.

References Base::damageBase(), FALSE, height, l, start(), width, Opie::MM::x, and Opie::MM::y.

Referenced by advance().

void Man::done  ) 
 

Definition at line 162 of file man.cpp.

References count, dead, Sound::play(), and splat.

Referenced by Bullet::checkCollision().

int Man::getManCount  )  [static]
 

Definition at line 170 of file man.cpp.

References mancount.

Referenced by ParaShoot::play().

int Man::rtti  )  const
 

Definition at line 181 of file man.cpp.

References man_rtti.

void Man::setInitialCoords  ) 
 

Definition at line 104 of file man.cpp.

References QTime::currentTime(), dx, dy, FALSE, QTime::secsTo(), and TRUE.

Referenced by start().

void Man::setManCount int  count  )  [static]
 

Definition at line 175 of file man.cpp.

References mancount.

Referenced by ParaShoot::newGame().

void Man::start  ) 
 

Definition at line 143 of file man.cpp.

References QTime::currentTime(), dx, dy, FALSE, QTime::secsTo(), setInitialCoords(), and TRUE.

Referenced by checkCollision(), and Man().


Member Data Documentation

int Man::count [private]
 

Definition at line 50 of file man.h.

Referenced by advance(), and done().

bool Man::dead [private]
 

Definition at line 49 of file man.h.

Referenced by advance(), done(), and Man().

int Man::dx [private]
 

Definition at line 47 of file man.h.

Referenced by setInitialCoords(), and start().

int Man::dy [private]
 

Definition at line 48 of file man.h.

Referenced by setInitialCoords(), and start().

QCanvasPixmapArray* Man::manarray [private]
 

Definition at line 46 of file man.h.

Referenced by Man().

Sound Man::splat [private]
 

Definition at line 51 of file man.h.

Referenced by done().


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