Add the main menu #31

Merged
CoCo_Sol merged 25 commits from main-menu into main 2024-02-09 23:42:37 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit bfe619d898 - Show all commits

View file

@ -1,8 +1,9 @@
//! The file that contains utility functions, enums, structs of the game.
use bevy::prelude::*;
use std::default::Default;
use bevy::prelude::*;
#[derive(Debug, Clone, Copy, Default, Eq, PartialEq, Hash, States)]
pub enum GameState {
#[default]

View file

@ -1,9 +1,10 @@
//! The main menu of the game.
use crate::GameState;
use bevy::prelude::*;
use bevy_egui::{egui, EguiContexts, EguiPlugin};
use crate::GameState;
/// The plugin for the menu.
pub struct MenuPlugin;