From 19ce5319e2250b7b0e1a188f69d24de282a85a7f Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 3 Feb 2020 16:36:52 +0100 Subject: merged Draw into View; renamed Position to Pos --- src/systems/makefloor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/systems/makefloor.rs') 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() { -- cgit