From f554f7fa45cbe30936f84c14c80f619f46d229a2 Mon Sep 17 00:00:00 2001 From: rewin Date: Sat, 9 Dec 2023 16:53:00 +0300 Subject: [PATCH] cargo fmt --- src/lib.rs | 4 +-- src/physics.rs | 3 +- src/player.rs | 13 ++++--- src/safe_area.rs | 51 ++++++++++++-------------- src/shepherd.rs | 56 ++++++++++++++++------------- src/storyteller.rs | 9 +++-- src/sunday.rs | 75 +++++++++++++++++++++----------------- src/test_level.rs | 22 ++++++++---- src/torch.rs | 90 +++++++++++++++++++++++++--------------------- 9 files changed, 177 insertions(+), 146 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 15f38aa..38f9805 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,13 +9,13 @@ pub mod physics; pub mod player; pub mod safe_area; pub mod sheep; +pub mod shepherd; pub mod sprite_material; pub mod storyteller; +pub mod sunday; pub mod test_level; pub mod torch; pub mod wolf; -pub mod sunday; -pub mod shepherd; use std::f32::consts::PI; diff --git a/src/physics.rs b/src/physics.rs index 3513719..9f366a7 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -38,7 +38,8 @@ fn walk_system(time: Res