chore: cleanup
This commit is contained in:
parent
fab5c9cf0e
commit
7f3e444667
@ -1,13 +1,11 @@
|
|||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use rand::{distributions::{Distribution, WeightedIndex}, seq::IteratorRandom};
|
use rand::{ distributions::{ Distribution, WeightedIndex }, seq::IteratorRandom };
|
||||||
|
|
||||||
use crate::{common::despawn_screen, prelude::*};
|
use crate::{ common::despawn_screen, prelude::* };
|
||||||
|
|
||||||
#[derive(Component)]
|
#[derive(Component)]
|
||||||
pub struct FieldView;
|
pub struct FieldView;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pub fn enter (
|
pub fn enter (
|
||||||
mut commands: Commands,
|
mut commands: Commands,
|
||||||
asset_server: Res<AssetServer>,
|
asset_server: Res<AssetServer>,
|
||||||
|
|||||||
@ -9,8 +9,6 @@ use prelude::*;
|
|||||||
|
|
||||||
impl Plugin for SqPlugin {
|
impl Plugin for SqPlugin {
|
||||||
fn build (&self, app: &mut App) {
|
fn build (&self, app: &mut App) {
|
||||||
|
|
||||||
|
|
||||||
// add things to your app here
|
// add things to your app here
|
||||||
app
|
app
|
||||||
.insert_resource(ClearColor(BG_COLOR))
|
.insert_resource(ClearColor(BG_COLOR))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user