generated from tipragot/rust
Add a single background color #76
|
@ -18,5 +18,5 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn start_map(mut event: EventWriter<StartMapGeneration>) {
|
fn start_map(mut event: EventWriter<StartMapGeneration>) {
|
||||||
event.send(StartMapGeneration{seed:0, radius:100});
|
event.send(StartMapGeneration{seed:10,radius:10});
|
||||||
}
|
}
|
|
@ -15,7 +15,7 @@ impl Plugin for RendererPlugin {
|
||||||
Update,
|
Update,
|
||||||
render_map.run_if(in_state(crate::CurrentScene::Game)),
|
render_map.run_if(in_state(crate::CurrentScene::Game)),
|
||||||
)
|
)
|
||||||
.insert_resource(ClearColor(Color::rgb(0.25, 0.65, 0.8)));
|
.insert_resource(ClearColor(Color::rgb_u8(129,212,250)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue