* Push new Block to the blocks array and append it to working area * * @param {Block} block - Block to add
(block: Block)
| 115 | * @param {Block} block - Block to add |
| 116 | */ |
| 117 | public push(block: Block): void { |
| 118 | this.blocks.push(block); |
| 119 | this.insertToDOM(block); |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * Swaps blocks with indexes first and second |
no test coverage detected