Bucket Class Reference
[Binary minigame]

#include <Bucket.h>

Inherits Button.

Collaboration diagram for Bucket:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Bucket ()
 Bucket (BinaryMinigame *game, int num)
 Bucket (BinaryMinigame *game, int num, int xcoord, int ycoord)
 Bucket (BinaryMinigame *game, int num, Point p)
 ~Bucket ()
void fill ()
void increment ()
void empty ()
void reset ()
int getMax ()
bool isFull ()
PriorityEnum priority ()
std::string getLevel ()
void setLevel (int level)
void mouseClick (MouseEvent *)
 Called when the mouse clicks on a MouseListener.

Protected Member Functions

void init ()

Protected Attributes

BinaryMinigamegame
int max
int currentLevel
bool full
int progress


Constructor & Destructor Documentation

Bucket::Bucket (  ) 

Bucket::Bucket ( BinaryMinigame game,
int  num 
)

Bucket::Bucket ( BinaryMinigame game,
int  num,
int  xcoord,
int  ycoord 
)

Bucket::Bucket ( BinaryMinigame game,
int  num,
Point  p 
)

Bucket::~Bucket (  )  [inline]


Member Function Documentation

void Bucket::empty (  ) 

void Bucket::fill (  ) 

string Bucket::getLevel (  ) 

int Bucket::getMax (  ) 

void Bucket::increment (  ) 

void Bucket::init (  )  [protected]

bool Bucket::isFull (  ) 

void Bucket::mouseClick ( MouseEvent  )  [virtual]

Called when the mouse clicks on a MouseListener.

Reimplemented from Button.

PriorityEnum Bucket::priority (  )  [virtual]

Reimplemented from Button.

void Bucket::reset (  ) 

void Bucket::setLevel ( int  level  ) 


Member Data Documentation

int Bucket::currentLevel [protected]

bool Bucket::full [protected]

int Bucket::max [protected]

int Bucket::progress [protected]


The documentation for this class was generated from the following files:

Generated on Mon Mar 16 14:33:06 2009 for LearningGaming by  doxygen 1.5.7.1