add doc
All checks were successful
Rust Checks / checks (push) Successful in 1m13s
Rust Checks / checks (pull_request) Successful in 1m11s

This commit is contained in:
CoCo_Sol 2024-02-17 21:43:21 +01:00
parent 1350b04e29
commit 0fdc351356

View file

@ -72,6 +72,7 @@ fn get_type_tile(position: (f32, f32), noise: &Perlin) -> Tile {
} }
} }
/// Despawns the tiles if the event : [EndMapGenerationEvent] is received.
fn delete_map( fn delete_map(
mut commands: Commands, mut commands: Commands,
query: Query<Entity, With<Tile>>, query: Query<Entity, With<Tile>>,