From 718a09f8fd87d6c0d7e69ff0744802cba040b576 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 24 Apr 2022 21:45:30 +0200 Subject: 0_7 --- src/main.rs | 81 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 35 insertions(+), 46 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index c69d791..d0fb782 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,11 +1,11 @@ use bevy::math::Vec3; use bevy::prelude::*; -use gems::cell::{self, Cell, Occupant}; +use gems::cell::{self, AnimationTimer, Cell, Occupant}; use gems::constants; use rand::{thread_rng, Rng}; use std::time::Duration; -fn star_spawning(mut commands: Commands, time: Res