+impl AppBuilder {
+ pub fn with_resolution(mut self, width: u16, height: u16) -> Self {
+ self.resolution = Rect { width, height };
+ self
+ }
+
+ pub fn with_fps(mut self, fps: u8) -> Self {
+ unimplemented!()
+ // self.fps = fps;
+ // self
+ }
+
+ pub fn with_state(mut self, state: Box<dyn AppState>) -> Self {
+ self.state = Some(state);
+ self
+ }
+
+ pub fn with_title(mut self, title: &str) -> Self {
+ self.title = Some(title.to_string());
+ self
+ }
+
+ pub fn start(self) -> App {