generated from tipragot/rust
Add a renderer system with temp assets #60
|
@ -28,7 +28,7 @@ pub struct MapGenerationEvent {
|
||||||
pub radius: usize,
|
pub radius: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// spawns the tiles if the event is received.
|
/// Spawns the tiles if the event is received.
|
||||||
fn generate_map(
|
fn generate_map(
|
||||||
mut event: EventReader<MapGenerationEvent>,
|
mut event: EventReader<MapGenerationEvent>,
|
||||||
mut commands: Commands,
|
mut commands: Commands,
|
||||||
|
|
Loading…
Reference in a new issue