载入中...
搜索中...
未找到
TacticsLineOfSightAdapter.h
浏览该文件的文档.
Move-only, checked operation results for the common layer.
Coordinate-safe targeting protocol shared by sensing and gameplay adapters.
Answers grid line-of-sight queries from the bound tactics battle.
Definition TacticsLineOfSightAdapter.h:39
bool hasBoundBattle() const noexcept
Whether a battle is currently bound.
Definition TacticsLineOfSightAdapter.h:56
ecs::EntityHandle boundBattle() const noexcept
The currently bound battle, or an invalid handle when none is bound.
Definition TacticsLineOfSightAdapter.h:53
std::variant< WorldPoint, GridPoint > TargetLocation
Either a world point or a grid point, with the tag retained.
Definition Targeting.h:198
Definition Interaction.cpp:13
Result< void > registerTacticsLineOfSightProvider()
Claim the grid coordinate spaces for the tactics adapter.
Definition TacticsLineOfSightAdapter.cpp:113
TacticsLineOfSightAdapter & tacticsLineOfSightAdapter()
The process-wide adapter instance the capability answers with.
Definition TacticsLineOfSightAdapter.cpp:59