generated from tipragot/rust
Merge branch 'add-resources-system' of https://git.tipragot.fr/fish-cannard/border-wars into add-resources-system
This commit is contained in:
commit
84283bd6ec
|
@ -12,9 +12,9 @@ pub mod resources;
|
|||
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)]
|
||||
pub enum CurrentScene {
|
||||
pub enum Scene {
|
||||
/// When we are in the main menu.
|
||||
#[default]
|
||||
Menu,
|
||||
|
@ -26,6 +26,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 {
|
||||
|
|
Loading…
Reference in a new issue