CSCI 3081 - Drone Delivery System
entity_factory.h
1 #ifndef ENTITY_FACTORY_H_
2 #define ENTITY_FACTORY_H_
3 
4 #include "EntityProject/entity.h"
5 
6 namespace entity_project {
7 
13 public:
15  virtual IEntity* CreateEntity(const picojson::object& val) = 0;
20 };
21 
22 }
23 
24 
25 #endif // ENTITY_H_
Definition: entity_factory.h:12
virtual IEntity * CreateEntity(const picojson::object &val)=0
returns a pointer to a newly created entity
A movable object in a scene. Entities have position, direction and size.
Definition: entity.h:15
Definition: entity.h:7