summaryrefslogtreecommitdiff
path: root/snap.html
diff options
context:
space:
mode:
authorMichael Ball <cycomachead@gmail.com>2015-01-10 14:27:16 -0800
committerMichael Ball <cycomachead@gmail.com>2015-01-10 14:27:16 -0800
commit5de063245a54b8aef9b0d52d38acc86d1a1b9eda (patch)
tree513f8fad9e3920a16b4eada61cf0c5e353c40314 /snap.html
parent27370676f2bf925c3a8498fc2dfef959e1aa45bd (diff)
downloadsnap-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 'snap.html')
0 files changed, 0 insertions, 0 deletions