ui: split out the app struct into a new ui mod
This commit is contained in:
+5
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user