Class: BlockPaletteManager
Constructors
new BlockPaletteManager()
private
new BlockPaletteManager():BlockPaletteManager
Returns
Methods
getSelectedBlockType()
getSelectedBlockType():
BlockType
Returns
BlockType
Throws
This function can throw errors.
setSelectedBlockType()
setSelectedBlockType(
block
):void
Parameters
Parameter | Type |
---|---|
block | BlockType |
Returns
void
Remarks
This function can't be called in read-only mode.
Throws
This function can throw errors.