diff options
author | tom barrett <spalf0@gmail.com> | 2019-08-19 02:26:17 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-08-19 02:26:17 -0500 |
commit | ebf13bcd8e8ab799c56961e6bc1779bd8031a8dc (patch) | |
tree | 914274f75890fb754e698be2b06a8b2a2ef9b1d1 /src/entity.rs | |
parent | 7d2c0954cd95bdabcb7ecf26f9225382ab078289 (diff) |
created abstraction between world and game, added temlate for dialogtrees
Diffstat (limited to 'src/entity.rs')
-rw-r--r-- | src/entity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.rs b/src/entity.rs index 3489671..f3ca328 100644 --- a/src/entity.rs +++ b/src/entity.rs @@ -8,7 +8,7 @@ pub trait Operable { fn draw(&self, spritebatch: &mut SpriteBatch); } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct Entity { pub position: Point2<f32>, pub spawn: Point2<f32>, |