Fix details in documentation
This commit is contained in:
parent
ec66e3fc1b
commit
36d18d979f
9 changed files with 40 additions and 32 deletions
|
|
@ -26,10 +26,10 @@ pub fn main() -> ggez::GameResult {
|
|||
|
||||
struct Game {
|
||||
spritesheet: graphics::Image,
|
||||
|
||||
cache: Option<iced::Cache>,
|
||||
events: Vec<iced::Event>,
|
||||
tour: Tour,
|
||||
|
||||
events: Vec<iced::Event>,
|
||||
cache: Option<iced::Cache>,
|
||||
}
|
||||
|
||||
impl Game {
|
||||
|
|
@ -38,10 +38,10 @@ impl Game {
|
|||
|
||||
Ok(Game {
|
||||
spritesheet: graphics::Image::new(context, "/ui.png").unwrap(),
|
||||
|
||||
cache: Some(iced::Cache::default()),
|
||||
events: Vec::new(),
|
||||
tour: Tour::new(),
|
||||
|
||||
events: Vec::new(),
|
||||
cache: Some(iced::Cache::default()),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue