Crate dungen_minion_rooms_abstract[][src]

Expand description

Defines various map and dungeon generation enums, structs, and traits (mostly traits) for the dungen_minion crate.

As the purpose of this crate is to provide traits and helper types for dungen_minion and dungen_minion’s other dependent crates to consume, the gemeral usages of this crate’s traits and helper types are defined here, while their specific implementations are usually defined in those other crates.

Modules

Provides geometry for the dungen_minion system of crates.

Structs

Global Vec storage for Map implementations.

Contains information about a Map that can be reached from this Portal.

An iterator over immutable references to Portal.

An iterator over mutable references to Portal.

Contains information about a Map contanined within, and sub-ordinate to, another Map.

An iterator over immutable references to SubMap.

An iterator over mutable references to SubMap.

The standard TileTypeCmp implementation sorts TileType and Option<TileType> in the following order:

Enums

A generic set of non-specific tiles suitable as a base for further customization.

Traits

A trait for types that enact some aspect of dungeon generation on a Map.

The defining trait for a map..

The defining trait of a type that has a collection of Portals.

The defining trait of a type that has a collection of SubMaps.

A trait for types that support dungeon generation on a Map.

Implements a priority-based comparison for TileType.

Functions

Call this to get an ID for a new Map.

Invalidates the specified map, allowing its MapId to be re-used.

Call this to register a Map.

Type Definitions

A definition for MapId, so that the implementation can be more easily changed if needed or desired.