[Editor] Split ImageLayer to ColorLayer and ImageLayer

This commit is contained in:
2021-02-18 20:56:10 +01:00
parent f85fa5ecc2
commit 8a41e50e6d
9 changed files with 41 additions and 30 deletions

View File

@@ -34,6 +34,8 @@ public class ProtobufMapDeserializer extends MapDeserializer {
deserializeTileLayer(map, proto);
} else if (proto.hasObjectLayer()) {
deserializeObjectLayer(map, proto);
} else if (proto.hasColorLayer()) {
deserializeColorLayer(map, proto);
} else if (proto.hasImageLayer()) {
deserializeImageLayer(map, proto);
} else {
@@ -74,6 +76,10 @@ public class ProtobufMapDeserializer extends MapDeserializer {
}
}
private void deserializeColorLayer(GameMap map, GameMapProto.Layer proto) {
// TODO(return new ColorLayer(...))
}
private void deserializeImageLayer(GameMap map, GameMapProto.Layer proto) {
// TODO(return new ImageLayer(...))
}