aboutsummaryrefslogtreecommitdiff
path: root/frontend/GameData.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 01:29:58 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 01:29:58 +0100
commitb9e738502260b8f448289c9888203971c7749c76 (patch)
tree09477251ba49307173a112e0cd5dbdd3633346ce /frontend/GameData.h
parente4261302944303781c952943e3290c99e2cabc52 (diff)
WIP SQL gedoe
Diffstat (limited to 'frontend/GameData.h')
-rw-r--r--frontend/GameData.h8
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;