[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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user