diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 01:29:58 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 01:29:58 +0100 |
commit | b9e738502260b8f448289c9888203971c7749c76 (patch) | |
tree | 09477251ba49307173a112e0cd5dbdd3633346ce /frontend/GameData.h | |
parent | e4261302944303781c952943e3290c99e2cabc52 (diff) |
WIP SQL gedoe
Diffstat (limited to 'frontend/GameData.h')
-rw-r--r-- | frontend/GameData.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/GameData.h b/frontend/GameData.h index d4c3712..383de00 100644 --- a/frontend/GameData.h +++ b/frontend/GameData.h @@ -4,10 +4,18 @@ #include "DB.h" +class Enemy; +class Object; + class GameData { public: static GameData & get_instance(); +public: + Enemy * create_enemy(const std::string & name); + Object * create_object(const std::string & name); + void leaderbord_add(const std::string & name, unsigned int gold); + private: GameData(); virtual ~GameData() = default; |