From 2ee665ef6954f6eab9f0398c19284b3ea4c8246d Mon Sep 17 00:00:00 2001 From: tom barrett Date: Tue, 23 Jul 2019 00:54:35 -0500 Subject: state -> world, moved struct members to private --- src/animations.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/animations.rs') diff --git a/src/animations.rs b/src/animations.rs index e2cc009..b82b42e 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -10,9 +10,9 @@ use crate::tileset::Tileset; #[derive(Debug, Clone, PartialEq)] pub struct Animation { - pub frames: Vec, - pub timer: Instant, - pub current: Tile, + frames: Vec, + timer: Instant, + current: Tile, } impl Animation { @@ -55,8 +55,8 @@ impl Animation { #[derive(Debug, Clone, PartialEq)] pub struct Animations { - pub available: HashMap, - pub current: Animation, + available: HashMap, + current: Animation, } impl Animations { -- cgit v1.2.3