[Editor] Split ImageLayer to ColorLayer and ImageLayer
This commit is contained in:
@@ -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(...))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user