From e2af6fc4ed1f68ae3d29917fbb3c1a9e024fbbcf Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 10 Oct 2023 15:33:32 -0700 Subject: [PATCH] sort enums like normalid --- src/physics.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index 56961887..77ce97e7 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -19,12 +19,12 @@ pub enum PhysicsInstruction { pub enum PhysicsInputInstruction { ReplaceMouse(MouseState,MouseState), SetNextMouse(MouseState), - SetMoveForward(bool), - SetMoveLeft(bool), - SetMoveBack(bool), SetMoveRight(bool), SetMoveUp(bool), + SetMoveBack(bool), + SetMoveLeft(bool), SetMoveDown(bool), + SetMoveForward(bool), SetJump(bool), SetZoom(bool), Reset, @@ -33,12 +33,12 @@ pub enum PhysicsInputInstruction { #[derive(Debug)] pub enum InputInstruction { MoveMouse(glam::IVec2), - MoveForward(bool), - MoveLeft(bool), - MoveBack(bool), MoveRight(bool), MoveUp(bool), + MoveBack(bool), + MoveLeft(bool), MoveDown(bool), + MoveForward(bool), Jump(bool), Zoom(bool), Reset,