Public Member Functions | Private Attributes
ArenaElementTypeRegistry Class Reference

#include <arenaelementtyperegistry.h>

List of all members.

Public Member Functions

 ArenaElementTypeRegistry (const QString &dir)
ArenaElementTypeelementType (const QString &typeName)
QList< ArenaElementType * > elementTypes ()
bool hasElement (const QString &typeName)
ArenaElementinstantiateElement (const QString &typeName)
void load (const QString &dir)

Private Attributes

QMap< QString, ArenaElementType * > m_elementTypes

Detailed Description

Definition at line 10 of file arenaelementtyperegistry.h.

Constructor & Destructor Documentation

Constructs a type registry from the directory specified containing arena element types

Definition at line 12 of file arenaelementtyperegistry.cpp.

Member Function Documentation

Definition at line 22 of file arenaelementtyperegistry.cpp.

Definition at line 17 of file arenaelementtyperegistry.cpp.

bool ArenaElementTypeRegistry::hasElement ( const QString &  typeName)

Definition at line 27 of file arenaelementtyperegistry.cpp.

Definition at line 32 of file arenaelementtyperegistry.cpp.

void ArenaElementTypeRegistry::load ( const QString &  dir)

Check if loading from properties.xml was successful

Definition at line 41 of file arenaelementtyperegistry.cpp.

Member Data Documentation

Definition at line 24 of file arenaelementtyperegistry.h.

The documentation for this class was generated from the following files:

Author(s): Stefan Kohlbrecher , Johannes Simon
autogenerated on Wed May 15 2019 05:00:31