generated from tipragot/rust
Add the main menu #31
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue