Files
kiln/kiln-core/src/lib.rs
T
2026-06-16 14:34:42 -05:00

27 lines
727 B
Rust

mod action;
mod archetype;
mod board;
mod builtin_scripts;
/// 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;
mod object_def;
/// Rhai scripting runtime for board objects ([`script::ScriptHost`]).
pub mod script;
mod utils;
/// 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;