aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/SaveManager.cpp
blob: 83ff0fae13ac34efe8dc92bc71ed0332cbb766b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "../DB.h"
#include "util/log.h"

#include "SaveManager.h"

using namespace std;
using namespace crepe;
using namespace crepe::api;

SaveManager::SaveManager() {
	dbg_trace();
	this->db = make_unique<DB>("./save.crepe.db");
}

SaveManager & SaveManager::get_instance() {
	dbg_trace();
	static SaveManager instance;
	return instance;
}