BlockManager.getByType

Get array of blocks by type from storage

class BlockManager
static
T[]
getByType
(
T
)
(
)

Parameters

T

Type of block.

Examples

auto scenario = new ScenarioBlock({}, "test", []);
BlockManager.addBlock(scenario);
BlockManager.getByType!ScenarioBlock();

Meta