Console, experimental tile graphic for continuous tiles

This commit is contained in:
crumblingstatue 2023-04-16 01:03:12 +02:00
parent 8ee0c9d535
commit 4dfb0ff7d7
12 changed files with 201 additions and 23 deletions

15
src/command.rs Normal file
View 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>;