2026-06-15 23:35:18 -05:00
|
|
|
mod action;
|
|
|
|
|
mod archetype;
|
|
|
|
|
mod board;
|
|
|
|
|
/// Procedural floor generators ([`floor::FloorGenerator`]).
|
2026-06-06 18:49:45 -05:00
|
|
|
pub mod floor;
|
2026-06-07 00:19:53 -05:00
|
|
|
/// Core game types: [`board::Board`], [`glyph::Glyph`], [`archetype::Archetype`], etc.
|
2026-05-30 20:20:09 -05:00
|
|
|
pub mod game;
|
2026-06-15 23:35:18 -05:00
|
|
|
pub mod glyph;
|
|
|
|
|
mod layer;
|
2026-06-03 22:46:54 -05:00
|
|
|
/// Styled log messages ([`log::LogLine`]) for the in-game message feed.
|
|
|
|
|
pub mod log;
|
2026-05-30 20:20:09 -05:00
|
|
|
/// Map file loading and saving (`.toml` format).
|
|
|
|
|
pub mod map_file;
|
2026-06-15 23:35:18 -05:00
|
|
|
mod object_def;
|
2026-06-04 20:11:55 -05:00
|
|
|
/// Rhai scripting runtime for board objects ([`script::ScriptHost`]).
|
|
|
|
|
pub mod script;
|
2026-06-07 00:19:53 -05:00
|
|
|
mod utils;
|
2026-06-15 23:35:18 -05:00
|
|
|
/// World type: a named collection of boards in a single `.toml` file ([`world::World`], [`world::load`]).
|
|
|
|
|
pub mod world;
|
2026-06-07 00:19:53 -05:00
|
|
|
|
2026-06-07 00:46:38 -05:00
|
|
|
pub use board::Board;
|
2026-06-08 22:15:44 -05:00
|
|
|
pub use utils::Direction;
|
2026-06-07 00:46:38 -05:00
|
|
|
|
|
|
|
|
#[cfg(test)]
|
2026-06-15 23:35:18 -05:00
|
|
|
mod tests;
|