Horizon
src
core
tool_helper_restrict.hpp
1
#pragma once
2
#include <string>
3
#include "common/common.hpp"
4
5
namespace
horizon {
6
class
ToolHelperRestrict
{
7
protected
:
8
void
cycle_restrict_mode();
9
void
cycle_restrict_mode_xy();
10
std::string restrict_mode_to_string()
const
;
11
enum class
RestrictMode { X, Y, ARB };
12
RestrictMode restrict_mode = RestrictMode::ARB;
13
Coordi
get_coord_restrict(
const
Coordi
&old,
const
Coordi
&cur)
const
;
14
};
15
}
// namespace horizon
horizon::ToolHelperRestrict
Definition:
tool_helper_restrict.hpp:6
horizon::Coord< int64_t >
Generated by
1.8.16