载入中...
搜索中...
未找到
eve::rts::CrowdMotionSystem类 参考

Synchronizes linked RTS units through the canonical Crowd simulation. 更多...

#include <RTSSystems.h>

静态 Public 成员函数

static Result< std::size_t > stepSharedFlow (const SimulationStep &step, crowd::Crowd &crowd, CrowdFlowNavigation &navigation)
 Consume shared static-goal fields through a known owner-thread flow service.
 
static Result< std::size_t > step (const SimulationStep &step, crowd::Crowd &crowd)
 Push ECS targets into Crowd, advance it once, and project positions back to Unit::Motion.
 

详细描述

Synchronizes linked RTS units through the canonical Crowd simulation.

在文件 RTSSystems.h 第 366 行定义.

成员函数说明

◆ step()

Result< std::size_t > eve::rts::CrowdMotionSystem::step ( const SimulationStep &  step,
crowd::Crowd &  crowd 
)
static

Push ECS targets into Crowd, advance it once, and project positions back to Unit::Motion.

在文件 RTSCrowdMotion.cpp 第 18 行定义.

引用了 step.

◆ stepSharedFlow()

Result< std::size_t > eve::rts::CrowdMotionSystem::stepSharedFlow ( const SimulationStep &  step,
crowd::Crowd &  crowd,
CrowdFlowNavigation &  navigation 
)
static

Consume shared static-goal fields through a known owner-thread flow service.

在文件 RTSCrowdMotion.cpp 第 21 行定义.

引用了 step.


该类的文档由以下文件生成: