Merge branch 'main' into new-menu
Some checks failed
Rust Checks / checks (push) Failing after 6s
Rust Checks / checks (pull_request) Failing after 5s

This commit is contained in:
CoCo_Sol 2024-04-05 08:27:47 +02:00
commit 0732dd0b11

View file

@ -11,9 +11,9 @@ pub mod networking;
pub mod scenes;
pub mod ui;
/// The current scene of the game.
/// A scene of the game.
#[derive(Debug, Clone, Copy, Default, Eq, PartialEq, Hash, States, Component)]
pub enum CurrentScene {
pub enum Scene {
/// When we are in the main menu.
#[default]
Menu,
@ -25,6 +25,9 @@ pub enum CurrentScene {
Game,
}
/// The current scene of the game.
pub type CurrentScene = Scene;
/// A player in the game.
#[derive(Serialize, Deserialize, Clone, Debug, Component, Resource, PartialEq, Eq, Hash)]
pub struct Player {