diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-09-06 15:52:50 +0200 |
|---|---|---|
| committer | Code WvS <code-wvs@quantentunnel.de> | 2015-03-21 11:36:05 +0100 |
| commit | e4f04d19635b68261560606268feb0df16fdf703 (patch) | |
| tree | e9a7f1c677e95c9097ac3b562b76cd9b08d701bf /objects.js | |
| parent | 800da44bc8cfd9c6d290ae07df4c420bd68ac6ec (diff) | |
| download | snap-yow-e4f04d19635b68261560606268feb0df16fdf703.tar.gz snap-yow-e4f04d19635b68261560606268feb0df16fdf703.zip | |
cherry-pick vibration block
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -929,6 +929,11 @@ SpriteMorph.prototype.initBlocks = function () { category: 'sensing', spec: 'current %dates' }, + doVibrate: { + type: 'command', + category: 'sensing', + spec: 'vibrate %n seconds' + }, // Operators reifyScript: { @@ -5297,6 +5302,8 @@ StageMorph.prototype.blockTemplates = function (category) { blocks.push(block('doSetFastTracking')); blocks.push('-'); blocks.push(block('reportDate')); + blocks.push('-'); + blocks.push(block('doVibrate')); // for debugging: /////////////// |
