-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dirs.cs
64 lines (57 loc) · 1.02 KB
/
Dirs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// <copyright file="Dirs.cs" company="Audino">
// Copyright (c) Audino
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RogueElements
{
public enum DirV
{
None = -1,
Down = 0,
Up = 1,
}
public enum DirH
{
None = -1,
Left = 0,
Right = 1,
}
public enum Dir4
{
None = -1,
Down = 0,
Left = 1,
Up = 2,
Right = 3,
}
public enum Dir8
{
None = -1,
Down = 0,
DownLeft = 1,
Left = 2,
UpLeft = 3,
Up = 4,
UpRight = 5,
Right = 6,
DownRight = 7,
}
public enum Axis4
{
None = -1,
Vert = 0,
Horiz = 1,
}
public enum Axis8
{
None = -1,
Vert = 0,
DiagForth = 1,
Horiz = 2,
DiagBack = 3,
}
}