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

Go to the source code of this file.

Classes

class  Wall
 The Wall class represents a physical object that is immovable during simulation. More...
 

Functions

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

Function Documentation

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

chirpFactory follows the PhysicalObject FactoryFunction, creating the Wall 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 Wall 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: