diff --git a/src/game.rs b/src/game.rs index 001307b..a6f2fe3 100644 --- a/src/game.rs +++ b/src/game.rs @@ -53,11 +53,8 @@ impl Game { _ => {} } match tmp.2 { - Some() => { - - - self.levels[player_pos.get_level()].remove_artifact(new_x, new_y); - self.player.add_gold(gold); + Some(enemy) => { + todo!("implement fighting!") } _ => {} } diff --git a/src/level_generator.rs b/src/level_generator.rs index 68995e0..d7b6853 100644 --- a/src/level_generator.rs +++ b/src/level_generator.rs @@ -110,6 +110,8 @@ impl LevelGenerator { // TODO tune room type distribution 1..=33 => { room_types.push(RoomType::EmptyRoom) } 34..=66 => { room_types.push(RoomType::TreasureRoom) } + 67..=90 => { room_types.push(RoomType::MonsterRoom) } + 67..=90 => { room_types.push(RoomType::MonsterRoom) } _ => { room_types.push(RoomType::BasicRoom) } } }