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

            SyncIndex();
        }
Exemplo n.º 2
0
        public TileSetLayer(string name, TileSetLayer layer)
            : base(name, layer)
        {
            _pool              = layer._pool;
            _pool.TileAdded   += TileAdded;
            _pool.TileRemoved += TileRemoved;

            SyncIndex();
        }
Exemplo n.º 3
0
        public TilePoolPresenter(TilePool tilePool)
        {
            _tilePool = tilePool;
            _tileSet = new TileSetLayer(tilePool.Name, tilePool);

            _annotations = new ObservableCollection<Annotation>();

            InitializeLayerHierarchy();
        }
Exemplo n.º 4
0
 public TileSetLayerPresenter(TileSetLayer layer)
 {
     _layer = layer;
 }