1
0
Fork 0
roguelike-game/src/game_log.rs

19 lines
372 B
Rust
Raw Normal View History

//! 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,
2021-11-05 14:32:14 -04:00
}