载入中...
搜索中...
未找到
eve::rts::NavigationSystem类 参考
Plans unit routes through the canonical map Pathfinder without owning map blockers or costs. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | step (map::Pathfinder &pathfinder, const NavigationGrid &grid, const NavigationEvent &unreachable={}) |
| Replan changed movement orders and advance reached waypoints. | |
详细描述
Plans unit routes through the canonical map Pathfinder without owning map blockers or costs.
在文件 RTSSystems.h 第 273 行定义.
成员函数说明
◆ step()
|
static |
Replan changed movement orders and advance reached waypoints.
在文件 RTSSystems.cpp 第 1112 行定义.
引用了 eve::rts::Attack, current, eve::Diagnostic::error(), eve::rts::Escort, eve::Result< T >::failure(), eve::map::Pathfinder::findPath(), eve::ui::WidgetDesc::id, index, eve::InvalidArgument, origin, path, eve::rts::Patrol, point, previous, radius, eve::rts::Resupply, eve::rts::SupplyRelay, target, unit, value, view, x, eve::rts::WorldPosition::x, y , 以及 eve::rts::WorldPosition::y.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSSystems.cpp