powered by
change the block assignment in an blocks object to a new block
blocks
# S3 method for blocks updateblock(blocks, i, newblock)
a blocks object
the node to update
the new block for node i
new blocks object