载入中...
搜索中...
未找到
Serializable state of one unit. 更多...
#include <HexUnits.h>
Public 属性 | |
| std::int32_t | locationIndex = -1 |
| Linear index of the occupied cell, or -1 when the unit is not on the grid. | |
| float | orientation = 0.f |
| Facing angle in degrees. | |
详细描述
Serializable state of one unit.
在文件 HexUnits.h 第 32 行定义.
类成员变量说明
◆ locationIndex
| std::int32_t eve::hexmap::HexUnitState::locationIndex = -1 |
Linear index of the occupied cell, or -1 when the unit is not on the grid.
在文件 HexUnits.h 第 34 行定义.
◆ orientation
| float eve::hexmap::HexUnitState::orientation = 0.f |
Facing angle in degrees.
在文件 HexUnits.h 第 36 行定义.
该结构体的文档由以下文件生成:
- src/modules/hexmap/HexUnits.h