diff options
| author | troido <troido@protonmail.com> | 2020-01-29 00:13:03 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-01-29 00:13:03 +0100 |
| commit | 88f275bc427033b7981e0dc2fc5cb4b711fd5fb1 (patch) | |
| tree | bbac6dc2a928cd121d3c45d0506aad9c32afe169 /src/assemblages.rs | |
| parent | b3356eabcea09f599ad99c1332450e4d9570161b (diff) | |
refactored control
Diffstat (limited to 'src/assemblages.rs')
| -rw-r--r-- | src/assemblages.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assemblages.rs b/src/assemblages.rs index 4705ae4..2a74030 100644 --- a/src/assemblages.rs +++ b/src/assemblages.rs @@ -6,7 +6,7 @@ use specs::{ EntityBuilder }; -use super::components::{Visible, Controller}; +use super::components::{Visible}; @@ -56,6 +56,6 @@ impl Player { impl Assemblage for Player { fn build<'a>(&self, builder: EntityBuilder<'a>) -> EntityBuilder<'a>{ - builder.with(Visible{sprite: "player".to_string(), height: 1.0}).with(Controller(None)) + builder.with(Visible{sprite: "player".to_string(), height: 1.0}) } } |
