FillEdges builder, and a welcome message
This commit is contained in:
parent
0fe866c048
commit
b80c3ac9d1
5 changed files with 54 additions and 11 deletions
|
|
@ -83,6 +83,10 @@ impl PrefabBuilder {
|
|||
build_data.map.tiles[idx] = TileType::Floor;
|
||||
build_data.starting_position = Some(Position { x: x as i32, y: y as i32 });
|
||||
}
|
||||
'+' => {
|
||||
build_data.map.tiles[idx] = TileType::Floor;
|
||||
build_data.spawn_list.push((idx, "door".to_string()));
|
||||
}
|
||||
'g' => {
|
||||
build_data.map.tiles[idx] = TileType::Floor;
|
||||
build_data.spawn_list.push((idx, "goblin".to_string()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue