Exemple #1
0
 public LayerHandlerProvider(IBinaryLayerHandlerProvider binaryHandlerProvider)
 {
     this.binaryHandlerProvider = binaryHandlerProvider;
     handlers = new List <ILayerHandler>();
     // built-in ini layers
     Add(new ImageLayerHandler());
     Add(new FontLayerHandler());
     Add(new TexLayerHandler());
     Add(new TileLayerHandler());
     Add(new TilesetLayerHandler());
     Add(new CodeLayerHandler());
     Add(new CodeEntryHandler());
     Add(new TextLayerHandler());
     Add(new TooltipLayerHandler());
     Add(new AudioLayerHandler());
     Add(new ActionLayerHandler());
     Add(new NinepatchLayerHandler());
 }
Exemple #2
0
 public BinaryResourceSerializer(IBinaryLayerHandlerProvider handlerProvider)
 {
     this.handlerProvider = handlerProvider;
 }