载入中...
搜索中...
未找到
eve::warship::IWarshipMobility类 参考abstract
Pluggable hull mobility (surface / sail / carrier / space / custom). 更多...
#include <WarshipTypes.h>
Public 成员函数 | |
| virtual | ~IWarshipMobility ()=default |
| virtual const char * | name () const =0 |
| Registry key matching WarshipDefinition::mobility. | |
| virtual void | update (class WarshipEntity &ship, float dt)=0 |
| Integrate motion for one simulation step. | |
详细描述
Pluggable hull mobility (surface / sail / carrier / space / custom).
在文件 WarshipTypes.h 第 160 行定义.
构造及析构函数说明
◆ ~IWarshipMobility()
|
virtualdefault |
成员函数说明
◆ name()
|
pure virtual |
Registry key matching WarshipDefinition::mobility.
- 返回
- Borrowed non-null pointer to process-lifetime storage. @ownership Not caller-owned; do not free. @lifetime Valid for the process lifetime. @thread Safe when the characters are immutable. @reentrancy Does not invoke callbacks.
◆ update()
|
pure virtual |
Integrate motion for one simulation step.
- 参数
-
ship Mutable warship entity (input + motion + capabilities). dt Seconds; must be finite and >= 0. @thread Owner ECS thread. @reentrancy Must not mutate the ECS table structure.
该类的文档由以下文件生成:
- src/modules/warship/WarshipTypes.h