GateDrawer.draw() modified
This commit is contained in:
parent
d61b6af8ed
commit
04afbf83a4
@ -15,7 +15,7 @@ public class GateDrawer extends ImagePanel implements Drawer{
|
|||||||
@Override
|
@Override
|
||||||
public void draw() throws IOException {
|
public void draw() throws IOException {
|
||||||
if(gate.isOpen())
|
if(gate.isOpen())
|
||||||
changeImage("OpenGate.png");
|
changeImage("Field.png"); //TODO picture for open gate.
|
||||||
else
|
else
|
||||||
changeImage("ClosedGate.png");
|
changeImage("ClosedGate.png");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user