-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirection.java
More file actions
47 lines (37 loc) · 858 Bytes
/
Direction.java
File metadata and controls
47 lines (37 loc) · 858 Bytes
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
public enum Direction {
NORTH("north"),
NORTHEAST("northeast"),
EAST("east"),
SOUTHEAST("southeast"),
SOUTH("south"),
SOUTHWEST("southwest"),
WEST("west"),
NORTHWEST("northwest"),
//<<<<<<< ManuelCuesta
JUMPNORTH("jump north"),
JUMPSOUTH("jump south"),
JUMPWEST("jump west"),
JUMPEAST("jump east"),
FIRENORTH("fire north"),
FIRESOUTH("fire south"),
FIREWEST("fire west"),
FIREEAST("fire east"),
IDLEEWNS("idel ewns");
//=======
// JUMP_NORTH("jump_north"),
// JUMP_SOUTH("jump_south"),
// JUMP_WEST("jump_west"),
// JUMP_EAST("jump_east"),
// JUMP_NORTHWEST("jump_northwest"),
// JUMP_SOUTHEAST("jump_southeast"),
// JUMP_NORTHEAST("jump_northeast"),
// JUMP_SOUTHWEST("jump_southwest");
//>>>>>>> master
private String name = null;
private Direction(String s){
name = s;
}
public String getName() {
return name;
}
}