kgoldrunner
#include <kgrrulebook.h>
|
| | KGrRuleBook (QObject *parent) |
| |
| virtual | ~KGrRuleBook () |
| |
| bool | alwaysCollectNugget () const |
| |
| bool | enemiesShowGold () const |
| |
| virtual Direction | findBestWay (const int eI, const int eJ, const int hI, const int hJ, KGrLevelGrid *pGrid, bool leftRightSearch=true)=0 |
| |
| void | getDigTimes (int &digTime, int &digCounter) |
| |
| char | getEnemyTimes (int &runTime, int &fallTime, int &trapTime) |
| |
| void | getHeroTimes (int &runTime, int &fallTime, int &enemyFallTime, int &trapTime) |
| |
| int | pointsPerCell () const |
| |
| bool | reappearAtTop () const |
| |
| int | reappearRow () const |
| |
| bool | runThruHole () const |
| |
| void | setTiming (const int enemyCount=0) |
| |
| bool | turnAnywhere () const |
| |
| bool | variableTiming () const |
| |
Definition at line 30 of file kgrrulebook.h.
| KGrRuleBook::KGrRuleBook |
( |
QObject * |
parent | ) |
|
| KGrRuleBook::~KGrRuleBook |
( |
| ) |
|
|
virtual |
| bool KGrRuleBook::alwaysCollectNugget |
( |
| ) |
const |
|
inline |
| bool KGrRuleBook::enemiesShowGold |
( |
| ) |
const |
|
inline |
| virtual Direction KGrRuleBook::findBestWay |
( |
const int |
eI, |
|
|
const int |
eJ, |
|
|
const int |
hI, |
|
|
const int |
hJ, |
|
|
KGrLevelGrid * |
pGrid, |
|
|
bool |
leftRightSearch = true |
|
) |
| |
|
pure virtual |
| void KGrRuleBook::getDigTimes |
( |
int & |
digTime, |
|
|
int & |
digCounter |
|
) |
| |
|
inline |
| char KGrRuleBook::getEnemyTimes |
( |
int & |
runTime, |
|
|
int & |
fallTime, |
|
|
int & |
trapTime |
|
) |
| |
|
inline |
| void KGrRuleBook::getHeroTimes |
( |
int & |
runTime, |
|
|
int & |
fallTime, |
|
|
int & |
enemyFallTime, |
|
|
int & |
trapTime |
|
) |
| |
|
inline |
| int KGrRuleBook::pointsPerCell |
( |
| ) |
const |
|
inline |
| bool KGrRuleBook::reappearAtTop |
( |
| ) |
const |
|
inline |
| int KGrRuleBook::reappearRow |
( |
| ) |
const |
|
inline |
| bool KGrRuleBook::runThruHole |
( |
| ) |
const |
|
inline |
| void KGrRuleBook::setTiming |
( |
const int |
enemyCount = 0 | ) |
|
| bool KGrRuleBook::turnAnywhere |
( |
| ) |
const |
|
inline |
| bool KGrRuleBook::variableTiming |
( |
| ) |
const |
|
inline |
| bool KGrRuleBook::mAlwaysCollectNugget |
|
protected |
Enemies always collect nuggets.
Definition at line 79 of file kgrrulebook.h.
| bool KGrRuleBook::mEnemiesShowGold |
|
protected |
Enemies show when they are carrying gold.
Definition at line 85 of file kgrrulebook.h.
| int KGrRuleBook::mPointsPerCell |
|
protected |
Number of points in each grid-cell.
Definition at line 83 of file kgrrulebook.h.
| bool KGrRuleBook::mReappearAtTop |
|
protected |
Enemies reborn at top of screen.
Definition at line 81 of file kgrrulebook.h.
| int KGrRuleBook::mReappearRow |
|
protected |
The type of rules and enemy search method.
Definition at line 76 of file kgrrulebook.h.
| bool KGrRuleBook::mRunThruHole |
|
protected |
Enemy can run L/R through dug hole.
Definition at line 80 of file kgrrulebook.h.
| bool KGrRuleBook::mTurnAnywhere |
|
protected |
Can change direction anywhere in grid-cell.
Definition at line 84 of file kgrrulebook.h.
| bool KGrRuleBook::mVariableTiming |
|
protected |
More enemies imply less speed.
Definition at line 78 of file kgrrulebook.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:12 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.