CSCI3081W Drone Delivery System
Public Member Functions | List of all members
RechargeDroneFactory Class Reference

RechargeDrone Factory to produce RechargeDrone class. More...

#include <RechargeDroneFactory.h>

Inheritance diagram for RechargeDroneFactory:
Inheritance graph
[legend]
Collaboration diagram for RechargeDroneFactory:
Collaboration graph
[legend]

Public Member Functions

virtual ~RechargeDroneFactory ()
 Destroy the Recharge Drone Factory object.
 
IEntitycreateEntity (const JsonObject &entity)
 Creates entity using the given JSON object, if possible. More...
 
- Public Member Functions inherited from IEntityFactory
virtual ~IEntityFactory ()
 Destructor for IEntityFactory class.
 

Detailed Description

RechargeDrone Factory to produce RechargeDrone class.

Member Function Documentation

◆ createEntity()

IEntity* RechargeDroneFactory::createEntity ( const JsonObject entity)
virtual

Creates entity using the given JSON object, if possible.

Parameters
entity- JsonObject to be used to create the new entity.
Returns
Entity that was created if it was created successfully, or a nullpointer if creation failed.

Implements IEntityFactory.


The documentation for this class was generated from the following file: