diff options
Diffstat (limited to 'src/player.rs')
-rw-r--r-- | src/player.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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, } |