Horizon
src
board
rule_plane.hpp
1
#pragma once
2
#include "common/common.hpp"
3
#include "plane.hpp"
4
#include "rules/rule.hpp"
5
#include "rules/rule_match.hpp"
6
7
namespace
horizon {
8
class
RulePlane :
public
Rule {
9
public
:
10
RulePlane(
const
UUID &uu);
11
RulePlane(
const
UUID &uu,
const
json
&j);
12
json
serialize()
const override
;
13
14
std::string get_brief(
const
class
Block *block =
nullptr
)
const override
;
15
bool
is_match_all()
const override
;
16
17
RuleMatch match;
18
int
layer = 10000;
19
20
PlaneSettings settings;
21
};
22
}
// namespace horizon
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:166
Generated by
1.8.20