Exemplo n.º 1
0
        public TilesSelectorRenderer(MapEditorTilesToolVM tilesTool, RenderTarget target) : base(target)
        {
            this.tilesTool = tilesTool;

            tileSetRenderer        = new TileSetRenderer(tilesTool, target);
            tilesSelectionRenderer = new TilesSelectorSelectionRenderer(tilesTool, target);
        }
Exemplo n.º 2
0
        public void Initialize(MapEditorTilesToolVM vm)
        {
            _vm = vm ?? throw new InvalidOperationException(nameof(vm));

            EntryRef.Initialize(vm.RefIdEditor);
            TilesSelector.Initialize(_vm.TilesSelector);
        }
Exemplo n.º 3
0
 public TilesSelectorSelectionRenderer(MapEditorTilesToolVM tilesTool, RenderTarget target) : base(target)
 {
     this.tilesTool = tilesTool;
 }
Exemplo n.º 4
0
 public TileSetRenderer(MapEditorTilesToolVM tilesTool, RenderTarget target) : base(target)
 {
     this.tilesTool = tilesTool;
 }
Exemplo n.º 5
0
 public CmdTilesInsert(MapEditorTilesToolVM inserter, List <MapEditorTileInsertOperation> operations)
 {
     Inserter   = inserter;
     Operations = operations;
 }