kgoldrunner
KGrHero Class Reference
#include <kgrfigure.h>

Detailed Description
Definition at line 101 of file kgrfigure.h.
Public Slots | |
| void | walkTimeDone () |
| void | fallTimeDone () |
Signals | |
| void | gotNugget (int) |
| void | haveAllNuggets () |
| void | leaveLevel () |
| void | caughtHero () |
Public Member Functions | |
| KGrHero (KGrCanvas *, int, int) | |
| virtual | ~KGrHero () |
| void | showFigure () |
| void | dig () |
| void | digLeft () |
| void | digRight () |
| void | startWalk () |
| void | setEnemyList (QList< KGrEnemy * > *) |
| void | init (int, int) |
| void | setKey (Direction) |
| void | setDirection (int, int) |
| void | start () |
| void | loseNugget () |
| void | setSpeed (int) |
| void | doStep () |
| void | showState (char) |
Public Attributes | |
| bool | started |
Static Public Attributes | |
| static int | WALKDELAY = 0 |
| static int | FALLDELAY = 0 |
Constructor & Destructor Documentation
| KGrHero::KGrHero | ( | KGrCanvas * | view, | |
| int | x, | |||
| int | y | |||
| ) |
Definition at line 319 of file kgrfigure.cpp.
| KGrHero::~KGrHero | ( | ) | [virtual] |
Definition at line 821 of file kgrfigure.cpp.
Member Function Documentation
| void KGrHero::showFigure | ( | ) |
| void KGrHero::dig | ( | ) |
Definition at line 702 of file kgrfigure.cpp.
| void KGrHero::digLeft | ( | ) |
Definition at line 710 of file kgrfigure.cpp.
| void KGrHero::digRight | ( | ) |
Definition at line 728 of file kgrfigure.cpp.
| void KGrHero::startWalk | ( | ) |
Definition at line 347 of file kgrfigure.cpp.
Definition at line 746 of file kgrfigure.cpp.
| void KGrHero::init | ( | int | a, | |
| int | b | |||
| ) | [virtual] |
| void KGrHero::setKey | ( | Direction | key | ) |
Definition at line 404 of file kgrfigure.cpp.
| void KGrHero::setDirection | ( | int | i, | |
| int | j | |||
| ) |
Definition at line 419 of file kgrfigure.cpp.
| void KGrHero::start | ( | ) |
Definition at line 533 of file kgrfigure.cpp.
| void KGrHero::loseNugget | ( | ) |
Definition at line 790 of file kgrfigure.cpp.
| void KGrHero::setSpeed | ( | int | gamespeed | ) |
Definition at line 549 of file kgrfigure.cpp.
| void KGrHero::doStep | ( | ) |
Definition at line 476 of file kgrfigure.cpp.
| void KGrHero::showState | ( | char | option | ) |
Definition at line 487 of file kgrfigure.cpp.
| void KGrHero::walkTimeDone | ( | ) | [slot] |
Definition at line 568 of file kgrfigure.cpp.
| void KGrHero::fallTimeDone | ( | ) | [slot] |
Definition at line 630 of file kgrfigure.cpp.
| void KGrHero::gotNugget | ( | int | ) | [signal] |
| void KGrHero::haveAllNuggets | ( | ) | [signal] |
| void KGrHero::leaveLevel | ( | ) | [signal] |
| void KGrHero::caughtHero | ( | ) | [signal] |
Member Data Documentation
| bool KGrHero::started |
Definition at line 107 of file kgrfigure.h.
int KGrHero::WALKDELAY = 0 [static] |
Definition at line 119 of file kgrfigure.h.
int KGrHero::FALLDELAY = 0 [static] |
Definition at line 120 of file kgrfigure.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference