summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-07-13 05:23:06 -0500
committertom barrett <spalf0@gmail.com>2019-07-13 05:23:06 -0500
commitc61c5c4352a5fe4945ea7b14793879b84baf36de (patch)
tree23cc91bcd1e9ae8bfb3f19cbdb2a7ab441c28725 /src
parentdd8d8f2fb265496ec7a108b93b5d71e34f8d6deb (diff)
fmt
Diffstat (limited to 'src')
-rw-r--r--src/animations.rs2
-rw-r--r--src/tile.rs2
-rw-r--r--src/tileset.rs2
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 {