town tweaks

This commit is contained in:
Llywelwyn 2023-07-29 08:43:40 +01:00
parent 3dab5202f8
commit 6d6b84ae6a
8 changed files with 86 additions and 30 deletions

View file

@ -566,7 +566,7 @@ fn main() -> rltk::BError {
raws::load_raws();
gs.ecs.insert(rltk::RandomNumberGenerator::new());
gs.ecs.insert(Map::new(1, 64, 64, 0));
gs.ecs.insert(Map::new(1, 64, 64, 0, "New Map"));
gs.ecs.insert(Point::new(0, 0));
let player_entity = spawner::player(&mut gs.ecs, 0, 0);
gs.ecs.insert(player_entity);