Platform Data Engine 0.0.1
A data-driven game engine for platformers
|
COMPONENT FACTORY This is a class that is responsible for creating components of different types from a string representation of the type. For example, if the component with type "AnimationController" is added in the json file, we need a way to make an object of type AnimationController so we'd call the following: ComponentFactory::create("AnimationController") More...
#include <ComponentFactory.h>
COMPONENT FACTORY This is a class that is responsible for creating components of different types from a string representation of the type. For example, if the component with type "AnimationController" is added in the json file, we need a way to make an object of type AnimationController so we'd call the following: ComponentFactory::create("AnimationController")