|
tess 0.4.0
Performance-first tile and path simulation substrate
|
Adapts a truthy passability field to unit-cost movement. More...
#include <tess/topology/movement_class.h>
Public Types | |
| using | passable_tag = PassableTag |
| Public Types inherited from tess::movement::MovementClass< Field< PassableTag >, UnitCost > | |
| using | pass_expr |
| using | cost_expr |
Static Public Member Functions | |
| template<typename Page> | |
| static constexpr auto | passable_span (Page &page) noexcept |
| Static Public Member Functions inherited from tess::movement::MovementClass< Field< PassableTag >, UnitCost > | |
| static constexpr bool | passable (const Page &page, LocalTileId id) noexcept |
| static constexpr std::uint32_t | entry_cost (const Page &page, LocalTileId id) noexcept |
Adapts a truthy passability field to unit-cost movement.