start con_text
This commit is contained in:
+3
-3
@@ -158,13 +158,13 @@ fn setup_tilemap(commands: &mut Commands, asset_server: &Res<AssetServer>) {
|
||||
// Spawn appropriate fixture based on floor type above
|
||||
match *above_floor_type {
|
||||
"dirt" => {
|
||||
commands.spawn(FixtureTilePrefab::dirt(fixture_position, asset_server));
|
||||
commands.spawn(FixtureTilePrefab::dirt_wall(fixture_position, asset_server));
|
||||
}
|
||||
"rock" => {
|
||||
commands.spawn(FixtureTilePrefab::rock(fixture_position, asset_server));
|
||||
commands.spawn(FixtureTilePrefab::rock_wall(fixture_position, asset_server));
|
||||
}
|
||||
"bedrock" => {
|
||||
commands.spawn(FixtureTilePrefab::bedrock(fixture_position, asset_server));
|
||||
commands.spawn(FixtureTilePrefab::bedrock_wall(fixture_position, asset_server));
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user