载入中...
搜索中...
未找到
Deterministic high-level production and attack policy for an AI-controlled faction. 更多...
#include <RTSTypes.h>
Public 属性 | |
| LogicalId | workerDefinition |
| LogicalId | armyDefinition |
| LogicalId | targetBuildingDefinition |
| int | desiredWorkers = 0 |
| int | attackThreshold = 1 |
| float | thinkInterval = 1.0f |
| float | thinkAccumulator = 0.0f |
| float | formationSpacing = 1.1f |
| bool | enabled = false |
详细描述
Deterministic high-level production and attack policy for an AI-controlled faction.
在文件 RTSTypes.h 第 1214 行定义.
类成员变量说明
◆ armyDefinition
| LogicalId eve::rts::Faction::Strategy::armyDefinition |
在文件 RTSTypes.h 第 1216 行定义.
◆ attackThreshold
| int eve::rts::Faction::Strategy::attackThreshold = 1 |
在文件 RTSTypes.h 第 1219 行定义.
◆ desiredWorkers
| int eve::rts::Faction::Strategy::desiredWorkers = 0 |
在文件 RTSTypes.h 第 1218 行定义.
◆ enabled
| bool eve::rts::Faction::Strategy::enabled = false |
在文件 RTSTypes.h 第 1223 行定义.
◆ formationSpacing
| float eve::rts::Faction::Strategy::formationSpacing = 1.1f |
在文件 RTSTypes.h 第 1222 行定义.
◆ targetBuildingDefinition
| LogicalId eve::rts::Faction::Strategy::targetBuildingDefinition |
在文件 RTSTypes.h 第 1217 行定义.
◆ thinkAccumulator
| float eve::rts::Faction::Strategy::thinkAccumulator = 0.0f |
在文件 RTSTypes.h 第 1221 行定义.
◆ thinkInterval
| float eve::rts::Faction::Strategy::thinkInterval = 1.0f |
在文件 RTSTypes.h 第 1220 行定义.
◆ workerDefinition
| LogicalId eve::rts::Faction::Strategy::workerDefinition |
在文件 RTSTypes.h 第 1215 行定义.
该结构体的文档由以下文件生成:
- src/modules/rts/RTSTypes.h