ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Functions
arena.cpp File Reference
#include "PhysicalObjects/arena.h"
#include "mathutility.h"
#include "drawutilities.h"
#include "world.h"
#include <QJsonObject>
#include <QRectF>
#include <QBrush>
#include <QPen>
#include <QPainter>
Include dependency graph for arena.cpp:

Functions

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

Function Documentation

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

chirpFactory follows the PhysicalObject FactoryFunction, creating the Arena 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 Arena object.

References World::world().

Referenced by PhysicalObjectFactory::PhysicalObjectFactory().

Here is the call graph for this function:

Here is the caller graph for this function: