diff options
-rw-r--r-- | src/animations.rs | 2 | ||||
-rw-r--r-- | src/tile.rs | 2 | ||||
-rw-r--r-- | src/tileset.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/animations.rs b/src/animations.rs index b57f69b..d19a8ff 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -5,7 +5,7 @@ use std::time::Instant; use crate::constants; use crate::entity::Action; -use crate::tile::{Tile, flip}; +use crate::tile::{flip, Tile}; use crate::tileset::Tileset; #[derive(Debug, Clone, PartialEq)] diff --git a/src/tile.rs b/src/tile.rs index e651f4a..9e92fef 100644 --- a/src/tile.rs +++ b/src/tile.rs @@ -1,6 +1,6 @@ use ggez::graphics::Rect; -use xml::reader::XmlEvent; use std::f32::consts::PI; +use xml::reader::XmlEvent; use crate::xmlelements::XMLElements; diff --git a/src/tileset.rs b/src/tileset.rs index 5193d44..89b9207 100644 --- a/src/tileset.rs +++ b/src/tileset.rs @@ -4,7 +4,7 @@ use std::collections::HashMap; use crate::animations::Animation; use crate::constants::{self, FLIP_A, FLIP_D, FLIP_H, FLIP_V}; -use crate::tile::{Properties, Tile, flip, rotate}; +use crate::tile::{flip, rotate, Properties, Tile}; use crate::xmlelements::XMLElements; pub struct Tileset { |