diff options
author | tom barrett <spalf0@gmail.com> | 2019-07-01 09:14:17 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-07-01 09:14:17 -0500 |
commit | 0947ce5a918207efeaf2a4f67a1cc410795f057a (patch) | |
tree | 30d601261754e236fc064faa9138eec9d1314d7c /src/tile.rs | |
parent | 4b01b87d8aca041304c927560095af92feb406da (diff) |
simpilfied interfaces and added new xml properties
Diffstat (limited to 'src/tile.rs')
-rw-r--r-- | src/tile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile.rs b/src/tile.rs index c8c2ae7..45b8b3e 100644 --- a/src/tile.rs +++ b/src/tile.rs @@ -8,7 +8,7 @@ use crate::tileset::Tileset; pub struct Tile { source: Rect, - animation: Option<Vec<(usize, Rect)>>, + animation: Vec<(usize, Rect)>, timer: Instant, destination: Point2<f32>, rotation: f32, |