#include <QObject>
#include <QMap>
#include <QJsonObject>
#include "PhysicalObjects/physicalobject.h"
#include "world.h"
Go to the source code of this file.
Classes | |
class | PhysicalObjectFactory |
The PhysicalObjectFactory class is a singleton class allowing users to register factories for a PhysicalObject class through a type name. More... | |
Typedefs | |
typedef PhysicalObject * | FactoryFunction (World *, const QJsonObject &) |
FactoryFunction is a function pointer taking in a World object and a JsonObject and returns a pointer to a PhysicalObject. More... | |
typedef PhysicalObject* FactoryFunction(World *, const QJsonObject &) |
FactoryFunction is a function pointer taking in a World object and a JsonObject and returns a pointer to a PhysicalObject.