package hwo.kurjatturskat.core.message.gameinit;

public class TrackPieces {
    public final Double length;
    public final Double radius;
    public final Double angle;

    public TrackPieces(Double length, Double radius, Double angle) {
        this.length = length;
        this.radius = radius;
        this.angle = angle;
    }

    public boolean isCurve() {
        return this.angle != null;
    }
}

@@ -43,16 +43,68 @@
 einit;%0A%0A
+import com.google.gson.annotations.SerializedName;%0A%0A
 public c
@@ -218,16 +218,82 @@
 angle;%0A%0A
+    @SerializedName(%22switch%22)%0A    public final boolean isSwitch;%0A%0A
     publ
@@ -349,16 +349,46 @@
 le angle
+,%0A            boolean isSwitch
 ) %7B%0A    
@@ -471,16 +471,50 @@
  angle;%0A
+        this.isSwitch = isSwitch;%0A
     %7D%0A%0A 

Add missing switch data field