Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ecs_world_resource_ext.hpp File Reference

Header file that makes Resource objects useable as ECS components. More...

#include <type_traits>
#include <nlohmann/json.hpp>
#include "ecs_world.hpp"
#include "resource_database.hpp"

Go to the source code of this file.

Classes

struct  ToyMaker::ComponentFromJSON< std::shared_ptr< TResource >, typename std::enable_if< std::is_base_of< IResource, TResource >::value >::type >
 Allows a shared pointer to a resource to be constructed as a component for an entity when loading a scene. More...
 

Namespaces

namespace  ToyMaker
 Namespace containing all class definitions and functions related to the ToyMaker engine.
 

Detailed Description

Header file that makes Resource objects useable as ECS components.

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-08-28