Добавлена система сохранений

This commit is contained in:
DeLiss
2026-06-11 13:20:44 +05:00
parent 1ecf70937d
commit f641112a2d
7 changed files with 143 additions and 3 deletions

11
include/save_manager.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include "player.h"
#include <string>
#include <vector>
class SaveManager {
public:
static bool saveGame(const Player& player, const std::string& path);
static bool loadGame(Player& player, const std::string& path);
};