|
ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
|
A struct that describes how a JSON component description is turned into a component. More...
#include <ecs_world.hpp>
Static Public Member Functions | |
| static TComponent | get (const nlohmann::json &jsonComponent) |
| Get method that automatically invokes a from_json function, found by nlohmann json. | |
A struct that describes how a JSON component description is turned into a component.
Specialization example:
|
inlinestatic |
Get method that automatically invokes a from_json function, found by nlohmann json.
| jsonComponent | A description of the component in JSON |