ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Functions
pushableobject.cpp File Reference
#include "PhysicalObjects/pushableobject.h"
#include "mathutility.h"
#include "drawutilities.h"
#include "jsonhelpers.h"
#include <QDebug>
#include <QJsonArray>
Include dependency graph for pushableobject.cpp:

Functions

PhysicalObjectpushableObjectFactory (World *world, const QJsonObject &obj)
 chirpFactory follows the PhysicalObject FactoryFunction, creating the PushableObject object from a QJsonObject. More...
 

Function Documentation

PhysicalObject* pushableObjectFactory ( World world,
const QJsonObject &  obj 
)

chirpFactory follows the PhysicalObject FactoryFunction, creating the PushableObject object from a QJsonObject.

See Also
physicalobjectfactory.h
Parameters
worldWorld to put the physical object model in.
objJsonObject containing the parameters for the object.
Returns
A constructed PushableObject object.

References jsonObjectToPoint(), and World::world().

Referenced by PhysicalObjectFactory::PhysicalObjectFactory().

Here is the call graph for this function:

Here is the caller graph for this function: