kmahjongg
#include <GameData.h>
|
| GameData (BoardLayout *boardlayout) |
|
| ~GameData () |
|
UCHAR | BoardData (short z, short y, short x) |
|
void | clearRemovedTilePair (POSITION &a, POSITION &b) |
|
short | findAllMatchingTiles (POSITION &posA) |
|
bool | findMove (POSITION &posA, POSITION &posB) |
|
void | generatePositionDepends () |
|
bool | generateStartPosition2 () |
|
void | generateTilePositions () |
|
POSITION & | getFromPosTable (int index) |
|
char * | getMaskBytes () |
|
UCHAR | HighlightData (short z, short y, short x) |
|
void | initialiseRemovedTiles () |
|
bool | isMatchingTile (POSITION &Pos1, POSITION &Pos2) |
|
bool | loadFromStream (QDataStream &in) |
|
UCHAR | MaskData (short z, short y, short x) |
|
int | moveCount () |
|
POSITION & | MoveListData (short i) |
|
bool | partTile (int z, int y, int x) |
|
void | putTile (short e, short y, short x, UCHAR f) |
|
void | putTile (POSITION &pos) |
|
bool | saveToStream (QDataStream &out) |
|
void | setBoardData (short z, short y, short x, UCHAR value) |
|
void | setHighlightData (short z, short y, short x, UCHAR value) |
|
void | setMoveListData (short i, POSITION &value) |
|
void | setRemovedTilePair (POSITION &a, POSITION &b) |
|
void | shuffle () |
|
bool | tilePresent (int z, int y, int x) |
|
This class implements.
longer description
- Author
- Mauricio Piacentini mauri.nosp@m.cio@.nosp@m.tabul.nosp@m.eiro.nosp@m..com
Definition at line 51 of file GameData.h.
UCHAR GameData::BoardData |
( |
short |
z, |
|
|
short |
y, |
|
|
short |
x |
|
) |
| |
Method Description.
- Parameters
-
- Returns
- UCHAR
Definition at line 104 of file GameData.cpp.
short GameData::findAllMatchingTiles |
( |
POSITION & |
posA | ) |
|
void GameData::generatePositionDepends |
( |
| ) |
|
bool GameData::generateStartPosition2 |
( |
| ) |
|
void GameData::generateTilePositions |
( |
| ) |
|
POSITION& GameData::getFromPosTable |
( |
int |
index | ) |
|
|
inline |
char* GameData::getMaskBytes |
( |
| ) |
|
|
inline |
Method Description.
- Returns
- *char blah blah
Definition at line 166 of file GameData.h.
UCHAR GameData::HighlightData |
( |
short |
z, |
|
|
short |
y, |
|
|
short |
x |
|
) |
| |
Method Description.
- Parameters
-
- Returns
- UCHAR
Definition at line 84 of file GameData.cpp.
void GameData::initialiseRemovedTiles |
( |
| ) |
|
UCHAR GameData::MaskData |
( |
short |
z, |
|
|
short |
y, |
|
|
short |
x |
|
) |
| |
Method Description.
- Parameters
-
- Returns
- UCHAR
Definition at line 74 of file GameData.cpp.
int GameData::moveCount |
( |
| ) |
|
POSITION & GameData::MoveListData |
( |
short |
i | ) |
|
Method Description.
- Parameters
-
- Returns
- POSITION pos
Definition at line 124 of file GameData.cpp.
bool GameData::partTile |
( |
int |
z, |
|
|
int |
y, |
|
|
int |
x |
|
) |
| |
Method Description.
- Parameters
-
- Returns
true
if ...
-
false
if ...
Definition at line 69 of file GameData.cpp.
void GameData::putTile |
( |
short |
e, |
|
|
short |
y, |
|
|
short |
x, |
|
|
UCHAR |
f |
|
) |
| |
Method Description.
- Parameters
-
Definition at line 51 of file GameData.cpp.
void GameData::putTile |
( |
POSITION & |
pos | ) |
|
|
inline |
Method Description.
- Parameters
-
Definition at line 79 of file GameData.h.
void GameData::setBoardData |
( |
short |
z, |
|
|
short |
y, |
|
|
short |
x, |
|
|
UCHAR |
value |
|
) |
| |
Method Description.
- Parameters
-
Definition at line 114 of file GameData.cpp.
void GameData::setHighlightData |
( |
short |
z, |
|
|
short |
y, |
|
|
short |
x, |
|
|
UCHAR |
value |
|
) |
| |
Method Description.
- Parameters
-
Definition at line 94 of file GameData.cpp.
void GameData::setMoveListData |
( |
short |
i, |
|
|
POSITION & |
value |
|
) |
| |
Method Description.
- Parameters
-
Definition at line 134 of file GameData.cpp.
void GameData::shuffle |
( |
| ) |
|
bool GameData::tilePresent |
( |
int |
z, |
|
|
int |
y, |
|
|
int |
x |
|
) |
| |
Method Description.
- Parameters
-
- Returns
true
if ...
-
false
if ...
Definition at line 59 of file GameData.cpp.
short GameData::m_maxTiles |
KRandomSequence GameData::random |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.