#include </home/clem/local/src/opie/noncore/games/kpacman/fruit.h>
Collaboration diagram for Fruit:

Public Member Functions | |
| Fruit (Board *b) | |
| void | setEaten (int duration) |
| void | setLevel (int level, int wDuration, int fDuration, int ticks=-1) |
| void | setMaxPixmaps (int max) |
| void | setMovement (int entry, int tunnel, int iq) |
| void | setPosition (int pos) |
| void | setDirection (int dir) |
| fruitState | state () |
| int | position () |
| int | direction () |
| bool | move (bool activate=FALSE) |
| int | pix () |
Private Attributes | |
| Board * | board |
| int | IQ |
| fruitState | actualState |
| int | pauseDuration |
| int | pause |
| int | timeLeft |
| int | waitDuration |
| int | fruitDuration |
| int | actualDirection |
| int | actualPosition |
| int | lastPosition |
| int | actualLevel |
| int | actualPix |
| int | maxPixmaps |
| int | entryPosition |
| int | homePosition |
| int | tunnelPosition |
|
|
Definition at line 5 of file fruit.cpp. References board, maxPixmaps, and setLevel(). |
|
|
Definition at line 76 of file fruit.cpp. References actualDirection. |
|
|
Definition at line 81 of file fruit.cpp. References active, actualDirection, actualPosition, actualState, board, Board::closeup(), d, empty, entryPosition, FALSE, fruitDuration, fruithome, homePosition, inactive, IQ, Board::isJump(), Board::isTunnel(), Board::isWay(), lastPosition, maxPixmaps, Board::move(), OUT, pause, pauseDuration, Board::position(), setMaxPixmaps(), setPosition(), timeLeft, TRUE, tunnel, tunnelPosition, Board::tunnels(), Board::turn(), waitDuration, and X. Referenced by Referee::keyPressEvent(), and Referee::timerEvent(). |
|
|
Definition at line 170 of file fruit.cpp. References actualPix, actualPosition, actualState, inactive, and OUT. Referenced by Referee::paintEvent(), Referee::repaintFigures(), and Referee::timerEvent(). |
|
|
Definition at line 71 of file fruit.cpp. References actualPosition. Referenced by Referee::paintEvent(), Referee::repaintFigures(), and Referee::timerEvent(). |
|
|
Definition at line 61 of file fruit.cpp. References actualDirection. |
|
|
Definition at line 12 of file fruit.cpp. References actualDirection, actualState, eaten, timeLeft, and X. Referenced by Referee::timerEvent(). |
|
||||||||||||||||||||
|
Definition at line 19 of file fruit.cpp. References actualDirection, actualLevel, actualState, fruitDuration, inactive, lastPosition, maxPixmaps, OUT, pause, pauseDuration, setMaxPixmaps(), setMovement(), setPosition(), timeLeft, waitDuration, and X. Referenced by Fruit(), and Referee::initFruit(). |
|
|
Definition at line 35 of file fruit.cpp. References actualLevel, actualPix, and maxPixmaps. Referenced by Referee::initFruit(), move(), setLevel(), and Referee::setScheme(). |
|
||||||||||||||||
|
Definition at line 46 of file fruit.cpp. References board, entryPosition, fruithome, homePosition, IQ, Board::position(), and tunnelPosition. Referenced by Referee::initFruit(), and setLevel(). |
|
|
Definition at line 54 of file fruit.cpp. References actualPosition, board, fruit, lastPosition, Board::reset(), and Board::set(). Referenced by move(), and setLevel(). |
|
|
Definition at line 66 of file fruit.cpp. References actualState. Referenced by Referee::paintEvent(), Referee::repaintFigures(), and Referee::timerEvent(). |
|
|
Definition at line 40 of file fruit.h. Referenced by direction(), move(), setDirection(), setEaten(), and setLevel(). |
|
|
Definition at line 43 of file fruit.h. Referenced by setLevel(), and setMaxPixmaps(). |
|
|
Definition at line 44 of file fruit.h. Referenced by pix(), and setMaxPixmaps(). |
|
|
Definition at line 41 of file fruit.h. Referenced by move(), pix(), position(), and setPosition(). |
|
|
Definition at line 30 of file fruit.h. Referenced by move(), pix(), setEaten(), setLevel(), and state(). |
|
|
Definition at line 26 of file fruit.h. Referenced by Fruit(), move(), setMovement(), and setPosition(). |
|
|
Definition at line 47 of file fruit.h. Referenced by move(), and setMovement(). |
|
|
Definition at line 38 of file fruit.h. Referenced by move(), and setLevel(). |
|
|
Definition at line 48 of file fruit.h. Referenced by move(), and setMovement(). |
|
|
Definition at line 28 of file fruit.h. Referenced by move(), and setMovement(). |
|
|
Definition at line 42 of file fruit.h. Referenced by move(), setLevel(), and setPosition(). |
|
|
Definition at line 45 of file fruit.h. Referenced by Fruit(), move(), setLevel(), and setMaxPixmaps(). |
|
|
Definition at line 33 of file fruit.h. Referenced by move(), and setLevel(). |
|
|
Definition at line 32 of file fruit.h. Referenced by move(), and setLevel(). |
|
|
Definition at line 35 of file fruit.h. Referenced by move(), setEaten(), and setLevel(). |
|
|
Definition at line 49 of file fruit.h. Referenced by move(), and setMovement(). |
|
|
Definition at line 37 of file fruit.h. Referenced by move(), and setLevel(). |
1.4.2