ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Classes | Functions
arena.h File Reference
#include <QString>
#include <QJsonObject>
#include <QGraphicsItem>
#include <Box2D/Box2D.h>
#include "world.h"
#include "physicalobject.h"
Include dependency graph for arena.h:
This graph shows which files directly or indirectly include this file:

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

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: