ui: split out the app struct into a new ui mod

This commit is contained in:
2026-06-10 00:13:13 +02:00
parent cac1822734
commit b1453b3fbc
4 changed files with 493 additions and 461 deletions
+5 -1
View File
@@ -39,7 +39,7 @@ pub struct Scenery {
pub struct Scene {
reply_options: GeneratedResponses,
conversation: Vec<ConversationEntry>,
pub direction: StageDirection,
direction: StageDirection,
pub tokens_consumed: usize,
scenery: Scenery
}
@@ -55,6 +55,10 @@ impl Scene {
}
}
pub fn direction(&self) -> &StageDirection {
&self.direction
}
pub fn scenery(&self) -> &Scenery {
&self.scenery
}