Inheritance: Treefrog.Framework.Model.TileLayer, IDisposable
示例#1
0
        public TileSetLayer(string name, TileSetLayer layer)
            : base(name, layer)
        {
            _pool = layer._pool;
            _pool.TileAdded += TileAdded;
            _pool.TileRemoved += TileRemoved;

            SyncIndex();
        }
示例#2
0
        public TileSetLayer(string name, TileSetLayer layer)
            : base(name, layer)
        {
            _pool              = layer._pool;
            _pool.TileAdded   += TileAdded;
            _pool.TileRemoved += TileRemoved;

            SyncIndex();
        }
        public TilePoolPresenter(TilePool tilePool)
        {
            _tilePool = tilePool;
            _tileSet = new TileSetLayer(tilePool.Name, tilePool);

            _annotations = new ObservableCollection<Annotation>();

            InitializeLayerHierarchy();
        }
 public TileSetLayerPresenter(TileSetLayer layer)
 {
     _layer = layer;
 }