granatier
mapparser.cpp
Go to the documentation of this file.
42 bool MapParser::startElement(const QString&, const QString&, const QString& p_qName, const QXmlAttributes& p_atts)
Definition: granatierglobals.h:74
Definition: granatierglobals.h:77
char toAscii() const
Definition: granatierglobals.h:80
bool characters(const QString &ch)
Implement QXmlDefaultHandler::characters.
Definition: mapparser.cpp:36
int count() const
Definition: granatierglobals.h:82
void init(const int p_nbRows, const int p_nbColumns)
Creates the Arena matrix.
Definition: arena.cpp:40
int toInt(bool *ok, int base) const
Definition: granatierglobals.h:75
QString qName(int index) const
void addPlayerPosition(const QPointF &p_position)
Sets a player position on the arena.
Definition: arena.cpp:90
const QChar at(int position) const
Definition: granatierglobals.h:79
int length() const
bool startElement(const QString &, const QString &, const QString &p_qName, const QXmlAttributes &p_atts)
Implements QXmlDefaultHandler::startElement()
Definition: mapparser.cpp:42
bool endElement(const QString &, const QString &, const QString &p_qName)
Implements QXmlDefaultHandler::endElement()
Definition: mapparser.cpp:72
QString value(int index) const
Definition: granatierglobals.h:78
Definition: granatierglobals.h:81
Definition: granatierglobals.h:73
void setCellType(const int p_row, const int p_column, const Granatier::Cell::Type p_type)
Sets the CellType of the Cell whose coordinates are given in parameters.
Definition: arena.cpp:63
Definition: granatierglobals.h:76
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 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:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.