fixed a bug in the tunnel shape

This commit is contained in:
Neemann 2016-05-04 11:13:19 +02:00
parent b4c820425f
commit b1d1b672a7

View File

@ -59,7 +59,7 @@ public class TunnelShape implements Shape {
// }
gr.drawPolygon(new Polygon(true)
.add(1, 0)
.add(0, 0)
.add(WIDTH, HEIGHT)
.add(WIDTH, -HEIGHT), Style.NORMAL);
Vector pos = new Vector(WIDTH + SIZE2 / 2, 0);