CSCI3081W Drone Delivery System
RechargeDroneFactory.h
1 #pragma once
2 
3 #include "IEntityFactory.h"
4 #include "RechargeDrone.h"
5 
12  public:
17  virtual ~RechargeDroneFactory() {}
18 
25  IEntity* createEntity(const JsonObject& entity);
26 };
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.
RechargeDrone Factory to produce RechargeDrone class.
Definition: RechargeDroneFactory.h:11
virtual ~RechargeDroneFactory()
Destroy the Recharge Drone Factory object.
Definition: RechargeDroneFactory.h:17
IEntity * createEntity(const JsonObject &entity)
Creates entity using the given JSON object, if possible.