From 5c34847218e8d754447f5cf71ed595bbb412eee7 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 29 Oct 2024 23:30:57 +0100 Subject: more WIP --- frontend/GameData.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend/GameData.cpp (limited to 'frontend/GameData.cpp') diff --git a/frontend/GameData.cpp b/frontend/GameData.cpp new file mode 100644 index 0000000..ad22aa0 --- /dev/null +++ b/frontend/GameData.cpp @@ -0,0 +1,15 @@ +#include + +#include "GameData.h" + +using namespace std; + +GameData & GameData::get_instance() { + static GameData instance; + return instance; +} + +GameData::GameData() { + this->db = make_unique("kerkersendraken.db"); +} + -- cgit v1.2.3