mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 04:25:00 +01:00
more
This commit is contained in:
parent
9f3d739e34
commit
635759d58a
2 changed files with 0 additions and 13 deletions
|
|
@ -1,10 +0,0 @@
|
||||||
/// A command that can change application or game state
|
|
||||||
pub(crate) enum Cmd {
|
|
||||||
/// Quit the application
|
|
||||||
QuitApp,
|
|
||||||
ToggleFreecam,
|
|
||||||
TeleportPlayer {},
|
|
||||||
TeleportPlayerSpawn,
|
|
||||||
GiveItemByName(),
|
|
||||||
}
|
|
||||||
pub(crate) type CmdVec = Vec<Cmd>;
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
use command::CmdVec;
|
|
||||||
use debug::DebugState;
|
use debug::DebugState;
|
||||||
use egui_sfml::SfEgui;
|
use egui_sfml::SfEgui;
|
||||||
use game::GameState;
|
use game::GameState;
|
||||||
|
|
||||||
mod command;
|
|
||||||
mod debug;
|
mod debug;
|
||||||
mod game;
|
mod game;
|
||||||
mod tiles;
|
mod tiles;
|
||||||
|
|
@ -14,7 +12,6 @@ pub(crate) struct App {
|
||||||
pub(crate) debug: DebugState,
|
pub(crate) debug: DebugState,
|
||||||
/// Integer scale for rendering the game
|
/// Integer scale for rendering the game
|
||||||
pub(crate) scale: u8,
|
pub(crate) scale: u8,
|
||||||
pub(crate) cmdvec: CmdVec,
|
|
||||||
}
|
}
|
||||||
impl App {
|
impl App {
|
||||||
pub(crate) fn new() -> anyhow::Result<Self> {
|
pub(crate) fn new() -> anyhow::Result<Self> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue