19 lines
372 B
Rust
19 lines
372 B
Rust
//! Game Log
|
|
//!
|
|
//! Where the exploits of the current game are recorded
|
|
mod builder;
|
|
mod logstore;
|
|
|
|
use ::rltk::RGB;
|
|
pub use builder::*;
|
|
use logstore::*;
|
|
pub use logstore::{clear_log, log_display};
|
|
|
|
/// A section of colored text for the game log
|
|
pub struct LogFragment {
|
|
/// The color of the text
|
|
pub color: RGB,
|
|
/// The text fragment
|
|
pub text: String,
|
|
}
|