#include <QJsonObject>
#include <QGraphicsItem>
#include <QRectF>
#include <QPainter>
#include <Box2D/Box2D.h>
#include "physicalobject.h"
#include "world.h"
Go to the source code of this file.
Classes | |
class | PushableObject |
The PushableObject class represents a physical object that other objects can push around. More... | |
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().