diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 23:30:57 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-29 23:30:57 +0100 |
commit | 5c34847218e8d754447f5cf71ed595bbb412eee7 (patch) | |
tree | 2872948e6d2f566dd66cb1a9b2a5d9900db4c44f /frontend/GameData.h | |
parent | a04cb74fee079e3ee43ae5fae32fc2674409822c (diff) |
more WIP
Diffstat (limited to 'frontend/GameData.h')
-rw-r--r-- | frontend/GameData.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend/GameData.h b/frontend/GameData.h new file mode 100644 index 0000000..d4c3712 --- /dev/null +++ b/frontend/GameData.h @@ -0,0 +1,18 @@ +#pragma once + +#include <memory> + +#include "DB.h" + +class GameData { +public: + static GameData & get_instance(); + +private: + GameData(); + virtual ~GameData() = default; + +private: + std::unique_ptr<DB> db = nullptr; +}; + |