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

Cell Class Reference

#include </home/clem/local/src/opie/noncore/games/zlines/cell.h>

List of all members.

Public Member Functions

 Cell ()
int getColor ()
int getAnim ()
bool isFree ()
void setColor (int c)
void setAnim (int a)
void clear ()
Celloperator= (const Cell &c)
CellmoveBall (Cell &cell)

Private Attributes

int color
int anim


Constructor & Destructor Documentation

Cell::Cell  ) 
 

Definition at line 19 of file cell.cpp.

References clear().


Member Function Documentation

void Cell::clear  ) 
 

Definition at line 24 of file cell.cpp.

References anim, ANIM_NO, color, and NOBALL.

Referenced by Cell(), Field::clearField(), Field::deleteAnimatedBalls(), moveBall(), and Field::removeBall().

int Cell::getAnim  )  [inline]
 

Definition at line 31 of file cell.h.

References anim.

Referenced by Field::getAnim().

int Cell::getColor  )  [inline]
 

Definition at line 30 of file cell.h.

References color.

Referenced by Field::getBall().

bool Cell::isFree  )  [inline]
 

Definition at line 32 of file cell.h.

References color, and NOBALL.

Referenced by Field::freeSpace(), and Field::moveBall().

Cell & Cell::moveBall Cell cell  ) 
 

Definition at line 30 of file cell.cpp.

References clear().

Referenced by Field::moveBall().

Cell & Cell::operator= const Cell c  ) 
 

Definition at line 36 of file cell.cpp.

References anim, and color.

void Cell::setAnim int  a  )  [inline]
 

Definition at line 35 of file cell.h.

References anim.

Referenced by Field::clearAnim(), and Field::setAnim().

void Cell::setColor int  c  )  [inline]
 

Definition at line 34 of file cell.h.

References color.

Referenced by Field::putBall().


Member Data Documentation

int Cell::anim [private]
 

Definition at line 26 of file cell.h.

Referenced by clear(), getAnim(), operator=(), and setAnim().

int Cell::color [private]
 

Definition at line 25 of file cell.h.

Referenced by clear(), getColor(), isFree(), operator=(), and setColor().


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