game-wip-dontplay/src/command.rs
2023-04-17 21:51:49 +02:00

10 lines
246 B
Rust

/// 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>;