summaryrefslogtreecommitdiff
path: root/src/systems/makefloor.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-03 16:36:52 +0100
committertroido <troido@protonmail.com>2020-02-03 16:36:52 +0100
commit19ce5319e2250b7b0e1a188f69d24de282a85a7f (patch)
tree2e51064f5e1dfa82304c558c56ab907255c953bd /src/systems/makefloor.rs
parentf0153eefd580ec443b380504303620a61f24630b (diff)
merged Draw into View; renamed Position to Pos
Diffstat (limited to 'src/systems/makefloor.rs')
-rw-r--r--src/systems/makefloor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systems/makefloor.rs b/src/systems/makefloor.rs
index 864f204..ba3727d 100644
--- a/src/systems/makefloor.rs
+++ b/src/systems/makefloor.rs
@@ -9,7 +9,7 @@ use specs::{
};
use super::super::components::{
- Position
+ Pos
};
use super::super::resources::{
@@ -19,7 +19,7 @@ use super::super::resources::{
pub struct MakeFloor;
impl <'a> System<'a> for MakeFloor {
- type SystemData = (Entities<'a>, Write<'a, Floor>, ReadStorage<'a, Position>);
+ type SystemData = (Entities<'a>, Write<'a, Floor>, ReadStorage<'a, Pos>);
fn run(&mut self, (entities, mut floor, positions): Self::SystemData) {
floor.cells.clear();
for (ent, pos) in (&entities, &positions).join() {