From 6bf9e96140c91340d6ae643b6e0896aa734d8605 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Tue, 2 Jul 2019 04:23:33 -0500 Subject: entities now spawn on points --- src/layer.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/layer.rs') diff --git a/src/layer.rs b/src/layer.rs index c9f32e8..ae645fb 100644 --- a/src/layer.rs +++ b/src/layer.rs @@ -3,10 +3,11 @@ use ggez::graphics::spritebatch::SpriteBatch; use crate::tile::Tile; use crate::tileset::Tileset; +#[derive(Debug, Clone)] pub struct Layer { pub tiles: Vec, - pub width: usize, - pub height: usize, + width: usize, + height: usize, } impl Layer { -- cgit v1.2.3