From 420d0f36adeed7fa254497b49ef91a7574628082 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 21 Mar 2021 18:45:36 +0100 Subject: merged animation systems --- src/main.rs | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 97592eb..164ffe3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use bevy::math::Vec3; use bevy::prelude::*; -use gems::cell::{self, Cell}; +use gems::cell::{self, Cell, Occupant}; use gems::constants; use rand::{thread_rng, Rng}; @@ -113,9 +113,14 @@ pub fn setup( fn animation_system( commands: &mut Commands, time: Res