From 45f9b5b1378235659c7e7a986d46e369ff3941b4 Mon Sep 17 00:00:00 2001 From: clizia Date: Thu, 20 Feb 2025 15:52:34 +0100 Subject: [PATCH] layout for client routines --- src/lib.rs | 1 + src/routine.rs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/routine.rs diff --git a/src/lib.rs b/src/lib.rs index 884e156..5493869 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,3 +7,4 @@ pub mod player; pub mod message; pub mod message_read; pub mod constant; +pub mod routine; diff --git a/src/routine.rs b/src/routine.rs new file mode 100644 index 0000000..c795a1f --- /dev/null +++ b/src/routine.rs @@ -0,0 +1,16 @@ +pub struct Routine { + pub kind: RoutineKind, +} + +pub enum RoutineKind { + Test, + Move, + CreatePlayer, + CreateLobby, +} + +impl Routine { + pub fn new() -> Self { + todo!() + } +}