CSCI3081W Drone Delivery System
HumanFactory.h
1 #ifndef HUMAN_FACTORY_H_
2 #define HUMAN_FACTORY_H_
3 
4 #include <vector>
5 
6 #include "Human.h"
7 #include "IEntityFactory.h"
8 
13 class HumanFactory : public IEntityFactory {
14  public:
18  virtual ~HumanFactory() {}
19 
26  IEntity* createEntity(const JsonObject& entity);
27 };
28 
29 #endif
Human Factory to produce Human class.
Definition: HumanFactory.h:13
IEntity * createEntity(const JsonObject &entity)
Creates entity using the given JSON object, if possible.
virtual ~HumanFactory()
Destructor for HumanFactory class.
Definition: HumanFactory.h:18
Composite Factory Interface.
Definition: IEntityFactory.h:11
Represents an entity in a physical system.
Definition: IEntity.h:22
Manages a picojson::object, works with JsonValue to provide implicit casting.