generated from tipragot/rust
Add a renderer system with temp assets #60
|
@ -72,7 +72,7 @@ fn get_type(position: (f32, f32), noise: &Perlin) -> Tile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Despawns the tiles if the event : [MapGenerationEvent] is received.
|
/// Despawns the tiles if the event : [StartMapGeneration] is received.
|
||||||
fn delete_map(
|
fn delete_map(
|
||||||
mut commands: Commands,
|
mut commands: Commands,
|
||||||
query: Query<Entity, With<Tile>>,
|
query: Query<Entity, With<Tile>>,
|
||||||
|
|
Loading…
Reference in a new issue