GateDrawer.draw() modified

This commit is contained in:
ericnerdo 2016-05-07 17:05:40 +02:00
parent d61b6af8ed
commit 04afbf83a4

View File

@ -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");