From 205c5e2f0229e94ca8b8663e8ae1467059386fa4 Mon Sep 17 00:00:00 2001 From: Sergei Surovtsev Date: Thu, 12 Oct 2023 23:44:13 +0300 Subject: [PATCH] missing files --- src/ai.rs | 58 ++++++++ src/controls.rs | 89 +++++++++++++ src/events.rs | 211 +++++++++++++++++++++++++++++ src/ldtk.rs | 342 ++++++++++++++++++++++++++++++++++++++++++++++++ src/physics.rs | 35 +++++ src/sprites.rs | 230 ++++++++++++++++++++++++++++++++ src/ui.rs | 104 +++++++++++++++ src/utils.rs | 105 +++++++++++++++ 8 files changed, 1174 insertions(+) create mode 100644 src/ai.rs create mode 100644 src/controls.rs create mode 100644 src/events.rs create mode 100644 src/ldtk.rs create mode 100644 src/physics.rs create mode 100644 src/sprites.rs create mode 100644 src/ui.rs create mode 100644 src/utils.rs diff --git a/src/ai.rs b/src/ai.rs new file mode 100644 index 0000000..19c0cea --- /dev/null +++ b/src/ai.rs @@ -0,0 +1,58 @@ +use bevy::prelude::*; + +use bevy_rapier2d::prelude::*; + +use crate::components::*; + +pub(crate) fn mierda_activity( + time: Res