#include "PhysicalObjects/pushableobject.h"
#include "mathutility.h"
#include "drawutilities.h"
#include "jsonhelpers.h"
#include <QDebug>
#include <QJsonArray>
Functions | |
PhysicalObject * | pushableObjectFactory (World *world, const QJsonObject &obj) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the PushableObject object from a QJsonObject. More... | |
PhysicalObject* pushableObjectFactory | ( | World * | world, |
const QJsonObject & | obj | ||
) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the PushableObject 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().