[Editor] Enable basic serialization for object and image layers

The layers' properties are not serialized/deserialized yet. All the protos for object layer and image layer contains actually nothing except the layer name in Layer proto container.
This commit is contained in:
2021-02-17 14:37:10 +01:00
parent 78e11029e5
commit c76ad76d37
4 changed files with 47 additions and 2 deletions

View File

@@ -16,9 +16,20 @@ message Layer {
oneof layer {
TileLayer tileLayer = 2;
ObjectLayer objectLayer = 3;
ImageLayer imageLayer = 4;
}
}
message TileLayer {
repeated uint32 tiles = 1;
}
message ObjectLayer {
// TODO list of passage abilities
}
message ImageLayer {
// TODO optional imageUID
// TODO r, g, b, alpha
}