blob: 1e288671107d1afedc219a0f805106fbf1532124 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// Created by thecharlesblake on 1/3/18.
//
#ifndef SOLVITAIRE_RULES_PARSER_H
#define SOLVITAIRE_RULES_PARSER_H
#include "../../game/sol_rules.h"
class rules_parser {
public:
static const sol_rules from_file(std::string);
static const sol_rules from_preset(std::string);
private:
static sol_rules get_default();
static void modify_sol_rules(sol_rules&, rapidjson::Document&);
};
#endif //SOLVITAIRE_RULES_PARSER_H
|