-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBlockObject.java
54 lines (43 loc) · 1.09 KB
/
BlockObject.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
package com.extollit.gaming.ai.path;
import com.extollit.gaming.ai.path.model.IBlockObject;
import com.extollit.linalg.immutable.AxisAlignedBBox;
public class BlockObject implements IBlockObject {
public AxisAlignedBBox bounds;
public boolean fenceLike, climbable, door, impeding, fullyBounded, liquid, incinerating, dynamic;
@Override
public AxisAlignedBBox bounds() {
return this.bounds;
}
@Override
public boolean isFenceLike() {
return this.fenceLike;
}
@Override
public boolean isClimbable() {
return this.climbable;
}
@Override
public boolean isDoor() {
return this.door;
}
@Override
public boolean isIntractable() {
return this.dynamic;
}
@Override
public boolean isImpeding() {
return this.impeding;
}
@Override
public boolean isFullyBounded() {
return this.fullyBounded;
}
@Override
public boolean isLiquid() {
return this.liquid;
}
@Override
public boolean isIncinerating() {
return this.incinerating;
}
}