From c61c5c4352a5fe4945ea7b14793879b84baf36de Mon Sep 17 00:00:00 2001 From: tom barrett Date: Sat, 13 Jul 2019 05:23:06 -0500 Subject: fmt --- src/animations.rs | 2 +- src/tile.rs | 2 +- src/tileset.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3