The IExtension class is an interface for extensions.
More...
#include <scratchcpp/iextension.h>
The IExtension class is an interface for extensions.
- See also
- Extensions
◆ ~IExtension()
| virtual libscratchcpp::IExtension::~IExtension |
( |
| ) |
|
|
inlinevirtual |
◆ color()
| virtual Rgb libscratchcpp::IExtension::color |
( |
| ) |
const |
|
pure virtual |
Returns the block color of the extension.
◆ description()
| virtual std::string libscratchcpp::IExtension::description |
( |
| ) |
const |
|
pure virtual |
Returns the description of the extension.
◆ name()
| virtual std::string libscratchcpp::IExtension::name |
( |
| ) |
const |
|
pure virtual |
Returns the name of the extension.
◆ onInit()
| virtual void libscratchcpp::IExtension::onInit |
( |
IEngine * | engine | ) |
|
|
inlinevirtual |
This method is called when a project is loaded.
◆ registerBlocks()
| virtual void libscratchcpp::IExtension::registerBlocks |
( |
IEngine * | engine | ) |
|
|
pure virtual |
Override this method to register blocks.
The documentation for this class was generated from the following file: