-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathObstacles.java
48 lines (39 loc) · 922 Bytes
/
Obstacles.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
package guardian;
public class Obstacles{
private static Obstacles a = new Obstacles(2);
private static Obstacles m = new Obstacles(3);
private static Obstacles e = new Obstacles(1) ;
private static Obstacles Herb = new Obstacles(0) ;
private static int type;
public Obstacles(int type) {
// TODO Auto-generated constructor stub
this.type = type;
}
/*public void setType(String type) {
this.type = type;
} */
public static Obstacles getA() {
return a;
}
/*public void setA(Obstacles a) {
this.a = a;
}*/
public static Obstacles getHerb() {
return Herb;
}
/*public void setHerb(Obstacles Herb) {
this.Herb = Herb;
}*/
public static Obstacles getM() {
return m;
}
/*public void setM(Obstacles m) {
this.m = m;
}*/
public static Obstacles getE() {
return e;
}
/*public void setE(Obstacles e) {
this.e = e;
}*/
}