#include <QString>
#include <QJsonObject>
#include <QGraphicsItem>
#include <Box2D/Box2D.h>
#include "world.h"
#include "physicalobject.h"
Go to the source code of this file.
Classes | |
class | Arena |
The Arena class creates four walls that are immovable at a specified distance from the center position. More... | |
Functions | |
PhysicalObject * | arenaFactory (World *world, const QJsonObject &obj) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Arena object from a QJsonObject. More... | |
PhysicalObject* arenaFactory | ( | World * | world, |
const QJsonObject & | obj | ||
) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Arena object from a QJsonObject.
world | World to put the physical object model in. |
obj | JsonObject containing the parameters for the object. |
References World::world().
Referenced by PhysicalObjectFactory::PhysicalObjectFactory().