layout for client routines
This commit is contained in:
parent
b53c5aeea9
commit
45f9b5b137
2 changed files with 17 additions and 0 deletions
|
@ -7,3 +7,4 @@ pub mod player;
|
||||||
pub mod message;
|
pub mod message;
|
||||||
pub mod message_read;
|
pub mod message_read;
|
||||||
pub mod constant;
|
pub mod constant;
|
||||||
|
pub mod routine;
|
||||||
|
|
16
src/routine.rs
Normal file
16
src/routine.rs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pub struct Routine {
|
||||||
|
pub kind: RoutineKind,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub enum RoutineKind {
|
||||||
|
Test,
|
||||||
|
Move,
|
||||||
|
CreatePlayer,
|
||||||
|
CreateLobby,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Routine {
|
||||||
|
pub fn new() -> Self {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue