A client/src/game_status/mod.rs => client/src/game_status/mod.rs +22 -0
@@ 0,0 1,22 @@
+/*
+ * This file is part of laurelin_client
+ * Copyright (C) 2023 Jonni Liljamo <jonni@liljamo.com>
+ *
+ * Licensed under GPL-3.0-only.
+ * See LICENSE for licensing information.
+ */
+
+use crate::api::game::Action;
+
+mod parser;
+
+/// constructed from a vector of [`Action`]s
+pub struct GameStatus {
+
+}
+
+impl GameStatus {
+ pub fn new(actions: Vec<Action>) -> Self {
+ Self { }
+ }
+}
A client/src/game_status/parser.rs => client/src/game_status/parser.rs +8 -0
@@ 0,0 1,8 @@
+/*
+ * This file is part of laurelin_client
+ * Copyright (C) 2023 Jonni Liljamo <jonni@liljamo.com>
+ *
+ * Licensed under GPL-3.0-only.
+ * See LICENSE for licensing information.
+ */
+
M client/src/main.rs => client/src/main.rs +2 -0
@@ 17,6 17,8 @@ mod util;
mod plugins;
+mod game_status;
+
#[derive(Debug, Clone, PartialEq, Eq, Hash, Default, States)]
enum AppState {
#[default]