#include <arena.h>
Definition at line 10 of file arena.h.
ArenaElement * Arena::addElement |
( |
const QString & |
elementType | ) |
|
Creates and adds an element of type elementType.
Definition at line 481 of file arena.cpp.
Adds an existing element to this arena.
Definition at line 444 of file arena.cpp.
Removes all elements from this arena.
Definition at line 469 of file arena.cpp.
Returns either a wall at the same position with the same rotation as the given element or 0 if no such wall exists
Definition at line 498 of file arena.cpp.
QList< ArenaElement * > Arena::elementsAt |
( |
const QPoint & |
pos | ) |
const |
void Arena::load |
( |
const QString & |
filename | ) |
|
Deserializes this arena from XML.
Definition at line 24 of file arena.cpp.
Removes an existing element from this arena. This does not delete it. The element can be re-added later.
Definition at line 461 of file arena.cpp.
void Arena::save |
( |
const QString & |
filename | ) |
|
Serializes this arena in XML.
Definition at line 88 of file arena.cpp.
void Arena::saveWorld |
( |
const QString & |
filename | ) |
|
Writes .world format-compliant XML.
Definition at line 112 of file arena.cpp.
void Arena::saveWorldSdf |
( |
const QString & |
filename | ) |
|
void Arena::slotModified |
( |
| ) |
|
|
privateslot |
The documentation for this class was generated from the following files: