summaryrefslogtreecommitdiff
path: root/src/cell.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-07-23 00:54:35 -0500
committertom barrett <spalf0@gmail.com>2019-07-23 03:48:58 -0500
commit2ee665ef6954f6eab9f0398c19284b3ea4c8246d (patch)
treea64d57f2fecbded780d93f464b36354f432c3033 /src/cell.rs
parentf351a002b66ae8a4b73588b7ffdffc69623181f3 (diff)
state -> world, moved struct members to private
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.rs b/src/cell.rs
index 9d257ff..bce744b 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -9,8 +9,8 @@ use crate::tileset::Tileset;
#[derive(Debug, Clone)]
pub struct Cell {
pub id: usize,
- pub animation: Animation,
pub destination: Point2<f32>,
+ animation: Animation,
}
impl Operable for Cell {