blob: 497caaf149ddebfaa2cc7d4fffdef5f62e2a8f6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// 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&);
static void apply_rules_schema(const rapidjson::Document&);
};
#endif //SOLVITAIRE_RULES_PARSER_H
|