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