/
Enums.java
65 lines (57 loc) · 987 Bytes
/
Enums.java
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
65
package uk.co.carelesslabs;
/**
* Class to hold all of the Enumerators for the game
*/
public class Enums {
/**
* The types of tiles that are available
*/
public enum TileType {
GRASS,
WATER,
CLIFF
}
/**
* The types of entities that are available
*/
public enum EntityType {
HERO,
TREE,
BIRD,
BULLET
}
/**
* The states that the entities can be in
*/
public enum EnityState {
NONE,
IDLE,
FEEDING,
WALKING,
FLYING,
HOVERING,
LANDING
}
/**
* The states that a menu or menu button can be
*/
public enum MenuState {
ACTIVE,
DISABLED,
HOVEROVER,
CLICKED
}
/**
* Compass directions
*/
public enum Compass {
S,
SE,
E,
NE,
N,
NW,
W,
SW
}
}