예제 #1
0
        private TileBrushManager(LibraryX.TileBrushGroupX proxy, TilePoolManager tileManager, DynamicTileBrushClassRegistry registry)
        {
            _staticBrushCollection  = StaticTileBrushCollection.FromXProxy(proxy.StaticBrushes, tileManager);
            _dynamicBrushCollection = DynamicTileBrushCollection.FromXProxy(proxy.DynamicBrushes, tileManager, registry);

            Pools.Add(_staticBrushCollection);
            Pools.Add(_dynamicBrushCollection);
        }
예제 #2
0
 public static LibraryX.TileBrushCollectionX <LibraryX.DynamicTileBrushX> ToXProxy(DynamicTileBrushCollection brushCollection)
 {
     return(TileBrushCollection <DynamicTileBrush> .ToXProxy <LibraryX.DynamicTileBrushX>(brushCollection, DynamicTileBrush.ToXProxy));
 }