Block CreateBlock

Declaration

Public Method

static Block* CreateBlock(MechaWare::BlockType type, Model& model, 
MechaWareSharedData& mw_data, void* address)

Required Header: MechaWare.h

Description

CreateBlock() is a factory method that Models use to create new Blocks.

Remarks

This method should only be called by Model::Block(). It is not intended for use by user applications. It is included here only for completeness.