package backend.resource.serialization;

import backend.resource.TurboLabel;

public class SerializableLabel {

    private String actualName = "";
    private String colour = "";

    public SerializableLabel(TurboLabel label) {
        this.actualName = label.getActualName();
        this.colour = label.getColour();
    }

    public String getActualName() {
        return actualName;
    }
    public String getColour() {
        return colour;
    }
}

@@ -389,16 +389,17 @@
 ;%0A    %7D%0A
+%0A
     publ
@@ -450,11 +450,203 @@
 r;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Label: %7B%22%0A               + %22name: %22 + getActualName() + %22, %22%0A               + %22color: %22 + getColour()%0A               + %22%7D%22;%0A    %7D
 %0A%7D%0A

Implement toString for serializableLabel