diff options
| author | Michael Ball <cycomachead@gmail.com> | 2015-01-10 14:27:16 -0800 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2015-01-10 14:27:16 -0800 |
| commit | 5de063245a54b8aef9b0d52d38acc86d1a1b9eda (patch) | |
| tree | 513f8fad9e3920a16b4eada61cf0c5e353c40314 /threads.js | |
| parent | 27370676f2bf925c3a8498fc2dfef959e1aa45bd (diff) | |
| download | snap-5de063245a54b8aef9b0d52d38acc86d1a1b9eda.tar.gz snap-5de063245a54b8aef9b0d52d38acc86d1a1b9eda.zip | |
Add ask and answer blocks to the tool sprite
See the screenshots for implementations but these are very simple blocks which
will make basic OOP operations a bit easier until 4.1
`ask` takes in a reporter and a string and will call that reporter on the requested
sprite.
`tell` takes in a script and a string and runs the script on the sprite.
These are sensing blocks and there are two differences from the BYOB tool sprite:
* These use string and not "objects" since that doesnt exist yet.
* I did not (yet) implement the "input list" versions because Im not sure they will
be used as frequently, though I do think they should be in some library
Diffstat (limited to 'threads.js')
0 files changed, 0 insertions, 0 deletions
