diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-14T15·00-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-14T15·00-0400 |
commit | 405dbffe376b05af31dc57f027658c70b4fb9634 (patch) | |
tree | e8d1e50b66e2b9e64d01336108f3176c4a07e78e /src/types/direction.rs | |
parent | bf03ebc549bfeef38b91110511a56a6cd24dc58d (diff) |
Add commands for diagonal movement
Cribbed directly from Nethack This was really, really easy.
Diffstat (limited to 'src/types/direction.rs')
-rw-r--r-- | src/types/direction.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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, } |