Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
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 |