chore: cleanup

This commit is contained in:
YK 2024-07-14 20:29:05 +03:00
parent fab5c9cf0e
commit 7f3e444667
2 changed files with 2 additions and 6 deletions

View File

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

View File

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