CSCI 3081 - Drone Delivery System
robot_factory.h
Go to the documentation of this file.
1 
4 #ifndef ROBOT_FACTORY_H
5 #define ROBOT_FACTORY_H
6 
7 /*******************************************************************************
8  * Includes
9  ******************************************************************************/
10 #include <EntityProject/facade/delivery_system.h>
11 #include <vector>
12 #include <string>
13 
14 namespace csci3081 {
15 
16 /*******************************************************************************
17  * Class Definitions
18  ******************************************************************************/
23 // DO NOT MODIFY (unless you really know what you are doing)
24 class RobotFactory : public IEntityFactory {
25  public:
52  IEntity* CreateEntity(const picojson::object& val);
53 };
54 
55 } // namespace csci3081
56 
57 
58 #endif // ROBOT_FACTORY_H_
Definition: asubject.cc:3
Definition: entity_factory.h:12
This is the RobotFactory, responsible for making a robot object.
Definition: robot_factory.h:24
A movable object in a scene. Entities have position, direction and size.
Definition: entity.h:15
IEntity * CreateEntity(const picojson::object &val)
This is an inheritance function from IEntityFactory to create an approxiate Entity object based on th...
Definition: robot_factory.cc:8