A modular game launcher with hot-swappable graphic libraries
IGame
Game
Core
Core
ILibGraph
ILibGraph
LibGraph
Core
ILibGraph
IGame
IGame
Game
Core
Each resource has a type
. Each resource has 2 filepath
one for the graph
and the other for the ascii
.
An empty filepath will return true
for a call to loadResource
.
Resource type
+---> Audio
Type ---|
+---- Image
Core
:
stores resource path
core.hpp
std::unordered_map<int, Resource>
void loadResource(std::unordered_map<int, Resource>& resources);
ILibGraph
:
LibGraph
:IGame
Game
core