mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-10 04:21:09 -04:00
The runtime now stores a mapping of opcode to function. The `wedo2` and `scratch3` packages are currently stubs.
14 lines
283 B
JavaScript
14 lines
283 B
JavaScript
|
|
function Scratch3Blocks() {
|
|
}
|
|
|
|
/**
|
|
* Retrieve the block primitives implemented by this package.
|
|
* @return {Object.<string, Function>} Mapping of opcode to Function.
|
|
*/
|
|
Scratch3Blocks.prototype.getPrimitives = function() {
|
|
return {
|
|
};
|
|
};
|
|
|
|
module.exports = Scratch3Blocks;
|