1 #ifndef COMPOSITE_FACTORY_H_
2 #define COMPOSITE_FACTORY_H_
4 #include "IEntityFactory.h"
32 std::vector<IEntityFactory*> componentFactories;
Factory method for composite class. Inherits from IEntityFactory.
Definition: CompositeFactory.h:10
virtual ~CompositeFactory()
Destructor for CompositeFactory class.
void addFactory(IEntityFactory *factoryEntity)
Adds given factory.
IEntity * createEntity(const JsonObject &entity)
Creates entity using the given JSON object, if possible.
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.