summaryrefslogtreecommitdiff
path: root/src/player.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-08-19 02:26:17 -0500
committertom barrett <spalf0@gmail.com>2019-08-19 02:26:17 -0500
commitebf13bcd8e8ab799c56961e6bc1779bd8031a8dc (patch)
tree914274f75890fb754e698be2b06a8b2a2ef9b1d1 /src/player.rs
parent7d2c0954cd95bdabcb7ecf26f9225382ab078289 (diff)
created abstraction between world and game, added temlate for dialogtrees
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs3
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,
}