From ebf13bcd8e8ab799c56961e6bc1779bd8031a8dc Mon Sep 17 00:00:00 2001 From: tom barrett Date: Mon, 19 Aug 2019 02:26:17 -0500 Subject: created abstraction between world and game, added temlate for dialogtrees --- src/player.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/player.rs') diff --git a/src/player.rs b/src/player.rs index 025056c..7df0922 100644 --- a/src/player.rs +++ b/src/player.rs @@ -6,8 +6,9 @@ use crate::animations::Animations; use crate::entity::{Action, Entity, Operable}; use crate::tileset::Tileset; +#[derive(Clone)] pub struct Player { - entity: Entity, + pub entity: Entity, animations: Animations, } -- cgit v1.2.3