mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 04:25:00 +01:00
Console, experimental tile graphic for continuous tiles
This commit is contained in:
parent
8ee0c9d535
commit
4dfb0ff7d7
12 changed files with 201 additions and 23 deletions
15
src/command.rs
Normal file
15
src/command.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use crate::math::WorldPos;
|
||||
|
||||
/// A command that can change application or game state
|
||||
pub enum Cmd {
|
||||
/// Quit the application
|
||||
QuitApp,
|
||||
ToggleFreecam,
|
||||
TeleportPlayer {
|
||||
pos: WorldPos,
|
||||
relative: bool,
|
||||
},
|
||||
TeleportPlayerSpawn,
|
||||
}
|
||||
|
||||
pub type CmdVec = Vec<Cmd>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue