From 0947ce5a918207efeaf2a4f67a1cc410795f057a Mon Sep 17 00:00:00 2001 From: tom barrett Date: Mon, 1 Jul 2019 09:14:17 -0500 Subject: simpilfied interfaces and added new xml properties --- src/tile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tile.rs') 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>, + animation: Vec<(usize, Rect)>, timer: Instant, destination: Point2, rotation: f32, -- cgit v1.2.3