#include <Bucket.h>
Inherits Button.

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 | |
| BinaryMinigame * | game |
| int | max |
| int | currentLevel |
| bool | full |
| int | progress |
| 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] |
| 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] |
| PriorityEnum Bucket::priority | ( | ) | [virtual] |
Reimplemented from Button.
| void Bucket::reset | ( | ) |
| void Bucket::setLevel | ( | int | level | ) |
int Bucket::currentLevel [protected] |
bool Bucket::full [protected] |
BinaryMinigame* Bucket::game [protected] |
int Bucket::max [protected] |
int Bucket::progress [protected] |
1.5.7.1