kgoldrunner
KGrGame Class Reference
#include <kgrgame.h>

Detailed Description
Definition at line 47 of file kgrgame.h.
Public Slots | |
| void | startLevelOne () |
| void | startAnyLevel () |
| void | startNextLevel () |
| void | setMouseMode (bool on_off) |
| void | startLevel (int startingAt, int requestedLevel) |
| void | newGame (const int lev=-1, const int gameIndex=-1) |
| void | startTutorial () |
| void | showHint () |
| void | showHighScores () |
| void | incScore (int) |
| void | herosDead () |
| void | showHiddenLadders () |
| void | goUpOneLevel () |
| void | loseNugget () |
| void | heroAction (KBAction movement) |
| void | saveGame () |
| void | loadGame () |
| void | doStep () |
| void | showFigurePositions () |
| void | showHeroState () |
| void | showEnemyState (int) |
| void | showObjectState () |
| void | bugFix () |
| void | startLogging () |
| void | createLevel () |
| void | updateLevel () |
| void | updateNext () |
| void | editNameAndHint () |
| bool | saveLevelFile () |
| void | moveLevelFile () |
| void | deleteLevelFile () |
| void | editCollection (int action) |
| void | setLevel (int lev) |
| void | freeze () |
| void | unfreeze () |
| void | setMessageFreeze (bool) |
Signals | |
| void | showScore (long) |
| void | showLives (long) |
| void | showLevel (int) |
| void | hintAvailable (bool) |
| void | setEditMenu (bool) |
| void | defaultEditObj () |
| void | markRuleType (char) |
| void | gameFreeze (bool) |
| void | quitGame () |
Public Member Functions | |
| KGrGame (KGrCanvas *theView, const QString &theSystemDir, const QString &theUserDir) | |
| ~KGrGame () | |
| bool | initCollections () |
| KGrHero * | getHero () |
| void | quickStartDialog () |
| int | getLevel () |
| void | startPlaying () |
| bool | inMouseMode () |
| bool | inEditMode () |
| bool | isLoading () |
| bool | saveOK (bool exiting) |
| QString | getTitle () |
| void | setEditObj (char newEditObj) |
| QString | getDirectory (Owner o) |
Constructor & Destructor Documentation
Definition at line 56 of file kgrgame.cpp.
| KGrGame::~KGrGame | ( | ) |
Definition at line 99 of file kgrgame.cpp.
Member Function Documentation
| bool KGrGame::initCollections | ( | ) |
Definition at line 2569 of file kgrgame.cpp.
| KGrHero * KGrGame::getHero | ( | ) |
Definition at line 351 of file kgrgame.cpp.
| void KGrGame::quickStartDialog | ( | ) |
Definition at line 110 of file kgrgame.cpp.
| int KGrGame::getLevel | ( | ) |
Definition at line 356 of file kgrgame.cpp.
| void KGrGame::startPlaying | ( | ) |
Definition at line 800 of file kgrgame.cpp.
| bool KGrGame::inMouseMode | ( | ) |
Definition at line 361 of file kgrgame.cpp.
| bool KGrGame::inEditMode | ( | ) |
Definition at line 366 of file kgrgame.cpp.
| bool KGrGame::isLoading | ( | ) |
Definition at line 371 of file kgrgame.cpp.
| bool KGrGame::saveOK | ( | bool | exiting | ) |
Definition at line 2129 of file kgrgame.cpp.
| QString KGrGame::getTitle | ( | ) |
Definition at line 837 of file kgrgame.cpp.
| void KGrGame::setEditObj | ( | char | newEditObj | ) |
Definition at line 1583 of file kgrgame.cpp.
Definition at line 811 of file kgrgame.cpp.
| void KGrGame::startLevelOne | ( | ) | [slot] |
Definition at line 200 of file kgrgame.cpp.
| void KGrGame::startAnyLevel | ( | ) | [slot] |
Definition at line 205 of file kgrgame.cpp.
| void KGrGame::startNextLevel | ( | ) | [slot] |
Definition at line 210 of file kgrgame.cpp.
| void KGrGame::setMouseMode | ( | bool | on_off | ) | [slot] |
Definition at line 376 of file kgrgame.cpp.
| void KGrGame::startLevel | ( | int | startingAt, | |
| int | requestedLevel | |||
| ) | [slot] |
Definition at line 215 of file kgrgame.cpp.
| void KGrGame::newGame | ( | const int | lev = -1, |
|
| const int | gameIndex = -1 | |||
| ) | [slot] |
Definition at line 452 of file kgrgame.cpp.
| void KGrGame::startTutorial | ( | ) | [slot] |
Definition at line 502 of file kgrgame.cpp.
| void KGrGame::showHint | ( | ) | [slot] |
Definition at line 538 of file kgrgame.cpp.
| void KGrGame::showHighScores | ( | ) | [slot] |
Definition at line 1322 of file kgrgame.cpp.
| void KGrGame::incScore | ( | int | n | ) | [slot] |
Definition at line 234 of file kgrgame.cpp.
| void KGrGame::herosDead | ( | ) | [slot] |
Definition at line 240 of file kgrgame.cpp.
| void KGrGame::showHiddenLadders | ( | ) | [slot] |
Definition at line 302 of file kgrgame.cpp.
| void KGrGame::goUpOneLevel | ( | ) | [slot] |
Definition at line 312 of file kgrgame.cpp.
| void KGrGame::loseNugget | ( | ) | [slot] |
Definition at line 346 of file kgrgame.cpp.
| void KGrGame::heroAction | ( | KBAction | movement | ) | [slot] |
Definition at line 920 of file kgrgame.cpp.
| void KGrGame::saveGame | ( | ) | [slot] |
Definition at line 937 of file kgrgame.cpp.
| void KGrGame::loadGame | ( | ) | [slot] |
Definition at line 1027 of file kgrgame.cpp.
| void KGrGame::showScore | ( | long | ) | [signal] |
| void KGrGame::showLives | ( | long | ) | [signal] |
| void KGrGame::showLevel | ( | int | ) | [signal] |
| void KGrGame::hintAvailable | ( | bool | ) | [signal] |
| void KGrGame::setEditMenu | ( | bool | ) | [signal] |
| void KGrGame::defaultEditObj | ( | ) | [signal] |
| void KGrGame::markRuleType | ( | char | ) | [signal] |
| void KGrGame::gameFreeze | ( | bool | ) | [signal] |
| void KGrGame::quitGame | ( | ) | [signal] |
| void KGrGame::doStep | ( | ) | [slot] |
Definition at line 1470 of file kgrgame.cpp.
| void KGrGame::showFigurePositions | ( | ) | [slot] |
Definition at line 1511 of file kgrgame.cpp.
| void KGrGame::showHeroState | ( | ) | [slot] |
Definition at line 1523 of file kgrgame.cpp.
| void KGrGame::showEnemyState | ( | int | enemyId | ) | [slot] |
Definition at line 1530 of file kgrgame.cpp.
| void KGrGame::showObjectState | ( | ) | [slot] |
Definition at line 1541 of file kgrgame.cpp.
| void KGrGame::bugFix | ( | ) | [slot] |
Definition at line 1561 of file kgrgame.cpp.
| void KGrGame::startLogging | ( | ) | [slot] |
Definition at line 1570 of file kgrgame.cpp.
| void KGrGame::createLevel | ( | ) | [slot] |
Definition at line 1588 of file kgrgame.cpp.
| void KGrGame::updateLevel | ( | ) | [slot] |
Definition at line 1637 of file kgrgame.cpp.
| void KGrGame::updateNext | ( | ) | [slot] |
Definition at line 1666 of file kgrgame.cpp.
| void KGrGame::editNameAndHint | ( | ) | [slot] |
Definition at line 1716 of file kgrgame.cpp.
| bool KGrGame::saveLevelFile | ( | ) | [slot] |
Definition at line 1733 of file kgrgame.cpp.
| void KGrGame::moveLevelFile | ( | ) | [slot] |
Definition at line 1850 of file kgrgame.cpp.
| void KGrGame::deleteLevelFile | ( | ) | [slot] |
Definition at line 1946 of file kgrgame.cpp.
| void KGrGame::editCollection | ( | int | action | ) | [slot] |
Definition at line 2027 of file kgrgame.cpp.
| void KGrGame::setLevel | ( | int | lev | ) | [slot] |
Definition at line 2283 of file kgrgame.cpp.
| void KGrGame::freeze | ( | ) | [slot] |
Definition at line 381 of file kgrgame.cpp.
| void KGrGame::unfreeze | ( | ) | [slot] |
Definition at line 389 of file kgrgame.cpp.
| void KGrGame::setMessageFreeze | ( | bool | on_off | ) | [slot] |
Definition at line 398 of file kgrgame.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference