Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static LibraryX.TileBrushCollectionX <LibraryX.StaticTileBrushX> ToXProxy(StaticTileBrushCollection brushCollection)
 {
     return(TileBrushCollection <StaticTileBrush> .ToXProxy <LibraryX.StaticTileBrushX>(brushCollection, StaticTileBrush.ToXProxy));
 }