summaryrefslogtreecommitdiffstats
path: root/examples/ggez/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/ggez/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/ggez/main.rs b/examples/ggez/main.rs
index 11ea6492..75bc3a0d 100644
--- a/examples/ggez/main.rs
+++ b/examples/ggez/main.rs
@@ -26,10 +26,10 @@ pub fn main() -> ggez::GameResult {
struct Game {
spritesheet: graphics::Image,
+ tour: Tour,
- cache: Option<iced::Cache>,
events: Vec<iced::Event>,
- tour: Tour,
+ cache: Option<iced::Cache>,
}
impl Game {
@@ -38,10 +38,10 @@ impl Game {
Ok(Game {
spritesheet: graphics::Image::new(context, "/ui.png").unwrap(),
+ tour: Tour::new(),
- cache: Some(iced::Cache::default()),
events: Vec::new(),
- tour: Tour::new(),
+ cache: Some(iced::Cache::default()),
})
}
}