Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
Constructs a scene node based on its description in JSON. More...
#include <scene_loading.hpp>
Static Public Member Functions | |
static std::string | getResourceConstructorName () |
Private Member Functions | |
std::shared_ptr< IResource > | createResource (const nlohmann::json &methodParams) override |
Creates a resource object using the parameters specified in methodParameters. | |
Additional Inherited Members | |
![]() | |
std::string | getResourceConstructorName_ () const override |
Gets the resource constructor type string of the constructor. | |
![]() | |
virtual | ~IResourceConstructor ()=default |
Destroys this resource constructor (when the application is terminated.) | |
![]() | |
ResourceConstructor (int explicitlyInitializeMe) | |
Construct a new ResourceConstructor object. | |
![]() | |
IResourceConstructor ()=default | |
Construct a new IResourceConstructor object. | |
![]() | |
template<typename TResource, typename TResourceConstructor> | |
static void | RegisterResourceConstructor () |
Registers this resource constructor against its respective ResourceFactory during static initialization. | |
Constructs a scene node based on its description in JSON.
|
overrideprivatevirtual |
Creates a resource object using the parameters specified in methodParameters.
methodParameters | The parameters used to construct an object via this constructor. |
Implements ToyMaker::IResourceConstructor.