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/cell.rs | 27 ++++----------------------- src/main.rs | 21 ++++++++++++++++----- 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/src/cell.rs b/src/cell.rs index 1659289..d5d19e2 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -76,32 +76,13 @@ pub fn insert(mut cell_query: Query<(&mut Cell, &mut TextureAtlasSprite)>) { } } -pub fn explosion_animation( - time: Res