Struct Asset
Defined in File tileset.h
Inheritance Relationships
Base Type
public CE::Assets::Content2D(Struct Content2D)
Struct Documentation
-
struct Asset : public CE::Assets::Content2D
Declaration:
finalShared tile grid plus definitions for static cells, animated targets, and autotile rules.
Selection samples through the caller’s callback and resolves simulation-owned time. Direct construction rejects duplicate targets but does not revalidate all manifest fields. Keep definitions/resources stable for concurrent read-only queries.
Public Functions
-
CE::Assets::Grids::CellIndex cell_at(CE::Assets::Grids::CellIndex target, std::chrono::milliseconds elapsed) const
Declaration:
[[nodiscard]]
-
CE::Assets::Tilesets::Selection::Result select_tile(const std::string &name, const CE::Assets::Tilesets::Selection::Sampler &sampler, const CE::Assets::Tilesets::Selection::Options &options, std::chrono::milliseconds elapsed) const
Declaration:
[[nodiscard]]
-
inline const Definition &definition() const
Declaration:
[[nodiscard]]
-
CE::Assets::Grids::CellIndex cell_at(CE::Assets::Grids::CellIndex target, std::chrono::milliseconds elapsed) const