mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 04:25:00 +01:00
delete
This commit is contained in:
parent
98dd54f1f2
commit
62107a20d8
21 changed files with 138 additions and 459 deletions
|
|
@ -1,16 +1,11 @@
|
|||
use crate::math::WorldPos;
|
||||
|
||||
/// A command that can change application or game state
|
||||
pub enum Cmd {
|
||||
pub(crate) enum Cmd {
|
||||
/// Quit the application
|
||||
QuitApp,
|
||||
ToggleFreecam,
|
||||
TeleportPlayer {
|
||||
pos: WorldPos,
|
||||
relative: bool,
|
||||
},
|
||||
TeleportPlayer {},
|
||||
TeleportPlayerSpawn,
|
||||
GiveItemByName(String),
|
||||
GiveItemByName(),
|
||||
}
|
||||
|
||||
pub type CmdVec = Vec<Cmd>;
|
||||
pub(crate) type CmdVec = Vec<Cmd>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue