overhaul: data-driven architecture

This commit is contained in:
Llywelwyn 2023-07-25 03:50:50 +01:00
parent 062d36f640
commit f53b767376
19 changed files with 680 additions and 727 deletions

View file

@ -43,7 +43,12 @@ pub fn setup_log() {
for _ in 0..5 {
Logger::new().log();
}
Logger::new().append("Welcome!").colour(rltk::CYAN).append("Press [?] at any time to view controls").period().log();
Logger::new()
.append("Welcome!")
.colour(rltk::CYAN)
.append_n("Press [?] at any time to view controls")
.period()
.log();
}
pub fn clone_log() -> Vec<Vec<crate::gamelog::LogFragment>> {