载入中...
搜索中...
未找到
eve::rts::MotionSystem类 参考
Moves units toward their active generic order targets. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | step (const SimulationStep &step) |
| Advance all Units with Motion and Orders components. | |
详细描述
Moves units toward their active generic order targets.
在文件 RTSSystems.h 第 230 行定义.
成员函数说明
◆ step()
|
static |
Advance all Units with Motion and Orders components.
- 参数
-
step Injected deterministic simulation step.
- 返回
- Number of units inspected, or a structured failure.
在文件 RTSMotion.cpp 第 12 行定义.
引用了 eve::Applied, eve::rts::Attack, eve::rts::AttackMove, current, distance, dx, dy, eve::Diagnostic::error(), eve::rts::Escort, eve::Result< T >::failure(), eve::InvalidArgument, eve::InvariantViolation, eve::rts::Move, eve::rts::Patrol, eve::rts::Resupply, step, eve::Status::success(), eve::Result< T >::success(), eve::rts::SupplyRelay, target, unit , 以及 view.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSMotion.cpp