Adding a map creation plugin #57

Merged
CoCo_Sol merged 39 commits from map-generation into main 2024-02-21 20:10:03 +00:00
Showing only changes of commit 32f09423cb - Show all commits

View file

@ -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,