载入中...
搜索中...
未找到
Built-in grid line-of-sight and cover policies. 更多...
#include "tactics/LineOfSight.h"#include "common/Diagnostic.h"#include <algorithm>#include <cstdlib>#include <utility>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::tactics |
函数 | |
| std::string_view | eve::tactics::coverLevelName (CoverLevel level) noexcept |
| Stable protocol spelling of a cover level. | |
| std::shared_ptr< ILineOfSightPolicy > | eve::tactics::gridLineOfSightPolicy () |
| The process-wide built-in line-of-sight policy. | |
| std::shared_ptr< ICoverPolicy > | eve::tactics::gridCoverPolicy () |
| The process-wide built-in cover policy (same ownership remarks as above). | |
| Result< std::vector< Cell > > | eve::tactics::visibleCellsInRange (const BoardState &board, const ILineOfSightPolicy &policy, Cell origin, int minimum, int maximum, CellRangeMetric metric) |
Cells within a metric range of origin that policy can actually see. | |
详细描述
Built-in grid line-of-sight and cover policies.
在文件 LineOfSight.cpp 中定义.
变量说明
◆ q
| int q = 0 |
在文件 LineOfSight.cpp 第 27 行定义.
◆ r
| int r = 0 |
在文件 LineOfSight.cpp 第 28 行定义.