mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-29 23:49:21 -04:00
Implement sprite info emitting and posting (#320)
This commit is contained in:
parent
1dc4aaa2d7
commit
56ef01745f
6 changed files with 94 additions and 1 deletions
src/engine
|
@ -105,6 +105,13 @@ Target.prototype.lookupOrCreateList = function (name) {
|
|||
return newList;
|
||||
};
|
||||
|
||||
/**
|
||||
* Post/edit sprite info.
|
||||
* @param {object} data An object with sprite info data to set.
|
||||
* @abstract
|
||||
*/
|
||||
Target.prototype.postSpriteInfo = function () {};
|
||||
|
||||
/**
|
||||
* Call to destroy a target.
|
||||
* @abstract
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue