From 49ca52844b0fa74bcd92018ef313923e9f355632 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Fri, 13 Mar 2020 21:40:45 +0000 Subject: stuff --- src/events.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/events.rs (limited to 'src/events.rs') diff --git a/src/events.rs b/src/events.rs new file mode 100644 index 0000000..0619b18 --- /dev/null +++ b/src/events.rs @@ -0,0 +1,10 @@ +use crate::world::Movement; + +#[derive(Copy, Clone, Debug)] +pub enum ViewportEvent { + Quit, + Help, + MovePlayer(Movement), + DownStairs, + UpStairs, +} -- cgit v1.2.3