From 405dbffe376b05af31dc57f027658c70b4fb9634 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 14 Jul 2019 11:00:44 -0400 Subject: Add commands for diagonal movement Cribbed directly from Nethack This was really, really easy. --- src/types/direction.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/types/direction.rs') diff --git a/src/types/direction.rs b/src/types/direction.rs index 5ab660f19317..9b5c0991da8d 100644 --- a/src/types/direction.rs +++ b/src/types/direction.rs @@ -6,4 +6,8 @@ pub enum Direction { Up, Down, Right, + UpLeft, + UpRight, + DownRight, + DownLeft, } -- cgit 1.4.1