#include <arenaelementtype.h>
Definition at line 18 of file arenaelementtype.h.
Enumerator |
---|
FloorType |
|
WallType |
|
ItemType |
Item freely movable within a grid point.
|
MountableItemType |
Item that can be mounted to a wall element.
|
Definition at line 23 of file arenaelementtype.h.
ArenaElementType::ArenaElementType |
( |
| ) |
|
QString ArenaElementType::humanReadableName |
( |
| ) |
const |
Returns a list of item mount points. Currently, this method is only applicable to wall elements
Definition at line 55 of file arenaelementtype.h.
bool ArenaElementType::load |
( |
const QDir & |
folderDir | ) |
|
Loads this element type from the specified folder containing the properties.xml file specific to the type.
- Parameters
-
folder | containing the properties.xml |
- Returns
- true on success, false if element type could not be loaded from the given folder.
Definition at line 11 of file arenaelementtype.cpp.
QString ArenaElementType::mesh |
( |
| ) |
const |
|
inline |
QVector<QStringPair> ArenaElementType::metaInfos |
( |
| ) |
const |
|
inline |
QString ArenaElementType::name |
( |
| ) |
const |
|
inline |
QPixmap ArenaElementType::pixmap |
( |
| ) |
const |
|
inline |
Type ArenaElementType::type |
( |
| ) |
const |
|
inline |
int ArenaElementType::m_instanceCount |
|
mutableprivate |
QString ArenaElementType::m_mesh |
|
private |
QString ArenaElementType::m_name |
|
private |
QPixmap ArenaElementType::m_pixmap |
|
private |
Type ArenaElementType::m_type |
|
private |
The documentation for this class was generated from the following files: