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