From f98dcf9582418de9c4dc888ca78e88f4c0471be8 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 4 Apr 2021 12:47:43 +0200 Subject: good start, but seem to have an issue with queries connecting cells and textureatlassprite, their iters are always empty --- src/main.rs | 141 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 68 insertions(+), 73 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 79c0f2b..1c1d49a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,36 +3,38 @@ use bevy::prelude::*; use gems::cell::{self, Cell, Occupant}; use gems::constants; use rand::{thread_rng, Rng}; +use std::time::Duration; -fn star_spawning_system(commands: &mut Commands, time: Res