Arena Class Reference
#include <arena.h>
List of all members.
Detailed Description
Definition at line 10 of file arena.h.
Constructor & Destructor Documentation
Member Function Documentation
Adds an existing element to this arena.
Definition at line 456 of file arena.cpp.
ArenaElement * Arena::addElement |
( |
const QString & |
elementType |
) |
|
Creates and adds an element of type elementType.
Definition at line 493 of file arena.cpp.
Removes all elements from this arena.
Definition at line 481 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 510 of file arena.cpp.
void Arena::elementAdded |
( |
ArenaElement * |
element |
) |
[signal] |
void Arena::elementRemoved |
( |
ArenaElement * |
element |
) |
[signal] |
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.
void Arena::modified |
( |
|
) |
[signal] |
Removes an existing element from this arena. This does not delete it. The element can be re-added later.
Definition at line 473 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 |
( |
|
) |
[private, slot] |
Member Data Documentation
The documentation for this class was generated from the following files: