#include "PhysicalObjects/wall.h"
#include "mathutility.h"
#include "drawutilities.h"
#include "jsonhelpers.h"
#include <QDebug>
#include <QJsonArray>
Functions | |
PhysicalObject * | wallFactory (World *world, const QJsonObject &obj) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Wall object from a QJsonObject. More... | |
PhysicalObject* wallFactory | ( | World * | world, |
const QJsonObject & | obj | ||
) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Wall object from a QJsonObject.
world | World to put the physical object model in. |
obj | JsonObject containing the parameters for the object. |
References jsonObjectToPoint(), and World::world().
Referenced by PhysicalObjectFactory::PhysicalObjectFactory().