[−][src]Function rust_action_heroes::entity::make_walls
pub(crate) fn make_walls(
world: &mut World,
sprite_sheet_handle: &Handle<SpriteSheet>,
wall_coordinates: Vec<(i16, i16)>
) -> Vec<Entity>
Creates all wall entities
Given a vector of coordinates it returns a vector of Entities which are the walls.