• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kgoldrunner

KGrGame Class Reference

#include <kgrgame.h>

Inheritance diagram for KGrGame:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 48 of file kgrgame.h.


Public Slots

void bugFix ()
void createLevel ()
void deleteLevelFile ()
void doStep ()
void editCollection (int action)
void editNameAndHint ()
void freeze ()
void goUpOneLevel ()
void heroAction (KBAction movement)
void heroDigs ()
void heroFalls (bool startStop)
void herosDead ()
void heroStep (bool climbing)
void incScore (int)
void initGame ()
void levelCompleted ()
void loadGame ()
void loseNugget ()
void moveLevelFile ()
void newGame (const int lev, const int gameIndex)
void saveGame ()
bool saveLevelFile ()
void setLevel (int lev)
void setMessageFreeze (bool)
void setMouseMode (bool on_off)
void setPlaySounds (bool on_off)
void showEnemyState (int)
void showFigurePositions ()
void showHeroState ()
void showHiddenLadders ()
void showHighScores ()
void showHint ()
void showObjectState ()
void startAnyLevel ()
void startLevel (int startingAt, int requestedLevel)
void startLevelOne ()
void startLogging ()
void startNextLevel ()
void startTutorial ()
void unfreeze ()
void updateLevel ()
void updateNext ()

Signals

void defaultEditObj ()
void gameFreeze (bool)
void hintAvailable (bool)
void markRuleType (char)
void quitGame ()
void setEditMenu (bool)
void showLevel (int)
void showLives (long)
void showScore (long)

Public Member Functions

QString getDirectory (Owner o)
KGrHero * getHero ()
int getLevel ()
QString getTitle ()
bool inEditMode ()
bool initCollections ()
bool inMouseMode ()
bool isLoading ()
 KGrGame (KGrCanvas *theView, const QString &theSystemDir, const QString &theUserDir)
void quickStartDialog ()
bool saveOK (bool exiting)
void setEditObj (char newEditObj)
void setInitialTheme (const QString &themeFilepath)
void startPlaying ()
 ~KGrGame ()

Constructor & Destructor Documentation

KGrGame::KGrGame ( KGrCanvas *  theView,
const QString &  theSystemDir,
const QString &  theUserDir 
)

Definition at line 60 of file kgrgame.cpp.

KGrGame::~KGrGame (  ) 

Definition at line 117 of file kgrgame.cpp.


Member Function Documentation

void KGrGame::bugFix (  )  [slot]

Definition at line 1646 of file kgrgame.cpp.

void KGrGame::createLevel (  )  [slot]

Definition at line 1673 of file kgrgame.cpp.

void KGrGame::defaultEditObj (  )  [signal]

void KGrGame::deleteLevelFile (  )  [slot]

Definition at line 2032 of file kgrgame.cpp.

void KGrGame::doStep (  )  [slot]

Definition at line 1555 of file kgrgame.cpp.

void KGrGame::editCollection ( int  action  )  [slot]

Definition at line 2113 of file kgrgame.cpp.

void KGrGame::editNameAndHint (  )  [slot]

Definition at line 1802 of file kgrgame.cpp.

void KGrGame::freeze (  )  [slot]

Definition at line 474 of file kgrgame.cpp.

void KGrGame::gameFreeze ( bool   )  [signal]

QString KGrGame::getDirectory ( Owner  o  ) 

Definition at line 890 of file kgrgame.cpp.

KGrHero * KGrGame::getHero (  ) 

Definition at line 435 of file kgrgame.cpp.

int KGrGame::getLevel (  ) 

Definition at line 440 of file kgrgame.cpp.

QString KGrGame::getTitle (  ) 

Definition at line 916 of file kgrgame.cpp.

void KGrGame::goUpOneLevel (  )  [slot]

Definition at line 395 of file kgrgame.cpp.

void KGrGame::heroAction ( KBAction  movement  )  [slot]

Definition at line 1004 of file kgrgame.cpp.

void KGrGame::heroDigs (  )  [slot]

Definition at line 2652 of file kgrgame.cpp.

void KGrGame::heroFalls ( bool  startStop  )  [slot]

Definition at line 2667 of file kgrgame.cpp.

void KGrGame::herosDead (  )  [slot]

Definition at line 311 of file kgrgame.cpp.

void KGrGame::heroStep ( bool  climbing  )  [slot]

Definition at line 2657 of file kgrgame.cpp.

void KGrGame::hintAvailable ( bool   )  [signal]

void KGrGame::incScore ( int  n  )  [slot]

Definition at line 295 of file kgrgame.cpp.

bool KGrGame::inEditMode (  ) 

Definition at line 450 of file kgrgame.cpp.

bool KGrGame::initCollections (  ) 

Definition at line 2686 of file kgrgame.cpp.

void KGrGame::initGame (  )  [slot]

Definition at line 129 of file kgrgame.cpp.

bool KGrGame::inMouseMode (  ) 

Definition at line 445 of file kgrgame.cpp.

bool KGrGame::isLoading (  ) 

Definition at line 455 of file kgrgame.cpp.

void KGrGame::levelCompleted (  )  [slot]

Definition at line 387 of file kgrgame.cpp.

void KGrGame::loadGame (  )  [slot]

Definition at line 1111 of file kgrgame.cpp.

void KGrGame::loseNugget (  )  [slot]

Definition at line 430 of file kgrgame.cpp.

void KGrGame::markRuleType ( char   )  [signal]

void KGrGame::moveLevelFile (  )  [slot]

Definition at line 1936 of file kgrgame.cpp.

void KGrGame::newGame ( const int  lev,
const int  gameIndex 
) [slot]

Definition at line 535 of file kgrgame.cpp.

void KGrGame::quickStartDialog (  ) 

Definition at line 171 of file kgrgame.cpp.

void KGrGame::quitGame (  )  [signal]

void KGrGame::saveGame (  )  [slot]

Definition at line 1021 of file kgrgame.cpp.

bool KGrGame::saveLevelFile (  )  [slot]

Definition at line 1819 of file kgrgame.cpp.

bool KGrGame::saveOK ( bool  exiting  ) 

Definition at line 2215 of file kgrgame.cpp.

void KGrGame::setEditMenu ( bool   )  [signal]

void KGrGame::setEditObj ( char  newEditObj  ) 

Definition at line 1668 of file kgrgame.cpp.

void KGrGame::setInitialTheme ( const QString &  themeFilepath  ) 

Definition at line 124 of file kgrgame.cpp.

void KGrGame::setLevel ( int  lev  )  [slot]

Definition at line 2369 of file kgrgame.cpp.

void KGrGame::setMessageFreeze ( bool  on_off  )  [slot]

Definition at line 491 of file kgrgame.cpp.

void KGrGame::setMouseMode ( bool  on_off  )  [slot]

Definition at line 460 of file kgrgame.cpp.

void KGrGame::setPlaySounds ( bool  on_off  )  [slot]

Definition at line 465 of file kgrgame.cpp.

void KGrGame::showEnemyState ( int  enemyId  )  [slot]

Definition at line 1615 of file kgrgame.cpp.

void KGrGame::showFigurePositions (  )  [slot]

Definition at line 1596 of file kgrgame.cpp.

void KGrGame::showHeroState (  )  [slot]

Definition at line 1608 of file kgrgame.cpp.

void KGrGame::showHiddenLadders (  )  [slot]

Definition at line 375 of file kgrgame.cpp.

void KGrGame::showHighScores (  )  [slot]

Definition at line 1406 of file kgrgame.cpp.

void KGrGame::showHint (  )  [slot]

Definition at line 616 of file kgrgame.cpp.

void KGrGame::showLevel ( int   )  [signal]

void KGrGame::showLives ( long   )  [signal]

void KGrGame::showObjectState (  )  [slot]

Definition at line 1626 of file kgrgame.cpp.

void KGrGame::showScore ( long   )  [signal]

void KGrGame::startAnyLevel (  )  [slot]

Definition at line 266 of file kgrgame.cpp.

void KGrGame::startLevel ( int  startingAt,
int  requestedLevel 
) [slot]

Definition at line 276 of file kgrgame.cpp.

void KGrGame::startLevelOne (  )  [slot]

Definition at line 261 of file kgrgame.cpp.

void KGrGame::startLogging (  )  [slot]

Definition at line 1655 of file kgrgame.cpp.

void KGrGame::startNextLevel (  )  [slot]

Definition at line 271 of file kgrgame.cpp.

void KGrGame::startPlaying (  ) 

Definition at line 879 of file kgrgame.cpp.

void KGrGame::startTutorial (  )  [slot]

Definition at line 580 of file kgrgame.cpp.

void KGrGame::unfreeze (  )  [slot]

Definition at line 482 of file kgrgame.cpp.

void KGrGame::updateLevel (  )  [slot]

Definition at line 1722 of file kgrgame.cpp.

void KGrGame::updateNext (  )  [slot]

Definition at line 1752 of file kgrgame.cpp.


The documentation for this class was generated from the following files:
  • kgrgame.h
  • kgrgame.cpp

kgoldrunner

Skip menu "kgoldrunner"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal