#include </home/clem/local/src/opie/noncore/games/parashoot/cannon.h>
Public Types | |
| enum | Direction { Left, Right, NoDir } |
Signals | |
| void | score (int) |
Public Member Functions | |
| Cannon (QCanvas *) | |
| ~Cannon () | |
| void | pointCannon (Direction dir) |
| void | setCoords () |
| double | shootAngle () |
| void | shoot () |
| int | rtti () const |
| int | shotsFired () |
| void | reposition (void) |
Protected Member Functions | |
| void | advance (int stage) |
Private Attributes | |
| QCanvasPixmapArray * | cannonarray |
| int | index |
| int | cannonx |
| int | cannony |
| int | barrelxpos |
| int | barrelypos |
| int | moveDelay |
| Direction | movedir |
| int | shotsfired |
|
|
|
|
|
Definition at line 26 of file cannon.cpp. References cannonarray, cannonx, cannony, Opie::Core::OResource::findPixmap(), index, moveDelay, movedir, NoDir, QString::replace(), reposition(), shotsfired, and TRUE. |
|
|
Definition at line 130 of file cannon.cpp. |
|
|
Definition at line 48 of file cannon.cpp. References index, Left, moveDelay, movedir, and Right. Referenced by pointCannon(). |
|
|
Definition at line 67 of file cannon.cpp. References advance(), moveDelay, and movedir. Referenced by ParaShoot::keyReleaseEvent(). |
|
|
Definition at line 139 of file cannon.cpp. References barrelxpos, barrelypos, height, index, setCoords(), and width. Referenced by Cannon(). |
|
|
Definition at line 134 of file cannon.cpp. References cannon_rtti. |
|
|
Referenced by shoot(). |
|
|
Definition at line 75 of file cannon.cpp. References barrelxpos, barrelypos, cannonx, cannony, and index. Referenced by reposition(), and shoot(). |
|
|
Definition at line 122 of file cannon.cpp. References cannonx, cannony, score(), setCoords(), shootAngle(), and shotsfired. Referenced by ParaShoot::keyPressEvent(). |
|
|
Definition at line 98 of file cannon.cpp. References index. Referenced by shoot(). |
|
|
Definition at line 40 of file cannon.h. References shotsfired. Referenced by ParaShoot::gameOver(). |
|
|
Definition at line 55 of file cannon.h. Referenced by reposition(), and setCoords(). |
|
|
Definition at line 56 of file cannon.h. Referenced by reposition(), and setCoords(). |
|
|
Definition at line 51 of file cannon.h. Referenced by Cannon(). |
|
|
Definition at line 53 of file cannon.h. Referenced by Cannon(), setCoords(), and shoot(). |
|
|
Definition at line 54 of file cannon.h. Referenced by Cannon(), setCoords(), and shoot(). |
|
|
Definition at line 52 of file cannon.h. Referenced by advance(), Cannon(), reposition(), setCoords(), and shootAngle(). |
|
|
Definition at line 57 of file cannon.h. Referenced by advance(), Cannon(), and pointCannon(). |
|
|
Definition at line 58 of file cannon.h. Referenced by advance(), Cannon(), and pointCannon(). |
|
|
Definition at line 59 of file cannon.h. Referenced by Cannon(), shoot(), and shotsFired(). |
1.4.2