Board layers

This commit is contained in:
2026-06-15 23:35:18 -05:00
parent d1d0824d37
commit 01cd73ca3b
29 changed files with 2166 additions and 2051 deletions
+10 -9
View File
@@ -1,24 +1,25 @@
/// The optional per-cell visual floor layer ([`floor::FloorSpec`], [`floor::build_floor`]).
mod action;
mod archetype;
mod board;
/// Procedural floor generators ([`floor::FloorGenerator`]).
pub mod floor;
/// Core game types: [`board::Board`], [`glyph::Glyph`], [`archetype::Archetype`], etc.
pub mod game;
pub mod glyph;
mod layer;
/// Styled log messages ([`log::LogLine`]) for the in-game message feed.
pub mod log;
/// Map file loading and saving (`.toml` format).
pub mod map_file;
/// World type: a named collection of boards in a single `.toml` file ([`world::World`], [`world::load`]).
pub mod world;
mod object_def;
/// Rhai scripting runtime for board objects ([`script::ScriptHost`]).
pub mod script;
pub mod glyph;
mod action;
mod utils;
mod archetype;
mod object_def;
mod board;
/// World type: a named collection of boards in a single `.toml` file ([`world::World`], [`world::load`]).
pub mod world;
pub use board::Board;
pub use utils::Direction;
#[cfg(test)]
mod tests;
mod tests;