Open Gates now handle boxes visually.
This commit is contained in:
parent
1aa6d3b837
commit
743686aa8e
@ -12,8 +12,11 @@ public class GateDrawer extends AbstractDrawer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void draw() throws IOException {
|
public void draw() throws IOException {
|
||||||
if(gate.isOpen())
|
if(gate.isOpen()) {
|
||||||
|
if(gate.hasBox())
|
||||||
|
changeImage("OpenGate_Box.png");
|
||||||
changeImage("OpenGate.png");
|
changeImage("OpenGate.png");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
changeImage("Gate.png");
|
changeImage("Gate.png");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user