tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::movement::WalkableField< PassableTag > Struct Template Reference

Adapts a truthy passability field to unit-cost movement. More...

#include <tess/topology/movement_class.h>

Inheritance diagram for tess::movement::WalkableField< PassableTag >:
tess::movement::MovementClass< Field< PassableTag >, UnitCost > tess::movement::movement_class_tag

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

Detailed Description

template<typename PassableTag>
struct tess::movement::WalkableField< PassableTag >

Adapts a truthy passability field to unit-cost movement.


The documentation for this struct was generated from the following file: