kapman
kapmanparser.cpp
Go to the documentation of this file.
37 bool KapmanParser::startElement(const QString&, const QString&, const QString& p_qName, const QXmlAttributes& p_atts) {
bool characters(const QString &ch)
Implement QXmlDefaultHandler::characters.
Definition: kapmanparser.cpp:32
void init(const int p_nbRows, const int p_nbColumns)
Creates the Maze matrix.
Definition: maze.cpp:36
Definition: cell.h:37
char toAscii() const
bool endElement(const QString &, const QString &, const QString &p_qName)
Implements QXmlDefaultHandler::endElement()
Definition: kapmanparser.cpp:131
bool startElement(const QString &, const QString &, const QString &p_qName, const QXmlAttributes &p_atts)
Implements QXmlDefaultHandler::startElement()
Definition: kapmanparser.cpp:37
void setCellElement(const int p_row, const int p_column, Element *p_element)
Sets the Element that is on the Cell whose coordinates are given in parameters.
Definition: maze.cpp:52
int count() const
void setResurrectionCell(QPoint p_resurrectionCell)
Sets the cell on witch the ghosts resurrect from prey state.
Definition: maze.cpp:63
int toInt(bool *ok, int base) const
This class manages the game main loop : it regularly checks the key press events, computes the charac...
Definition: game.h:35
Definition: cell.h:38
void createGhost(QPointF p_position, const QString &p_imageId)
Create the new Ghost.
Definition: game.cpp:240
void setCellType(const int p_row, const int p_column, const Cell::Type p_type)
Sets the CellType of the Cell whose coordinates are given in parameters.
Definition: maze.cpp:45
QString qName(int index) const
Definition: cell.h:39
const QChar at(int position) const
int length() const
QString value(int index) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.