Implement counter blocks

This commit is contained in:
Florrie 2018-04-07 16:02:49 -03:00
parent 2d9bd92140
commit 797d16be26
3 changed files with 54 additions and 1 deletions
src/serialization

View file

@ -815,6 +815,21 @@ const specMap = {
argMap: [
]
},
'COUNT': {
opcode: 'control_get_counter',
argMap: [
]
},
'INCR_COUNT': {
opcode: 'control_incr_counter',
argMap: [
]
},
'CLR_COUNT': {
opcode: 'control_clear_counter',
argMap: [
]
},
'touching:': {
opcode: 'sensing_touchingobject',
argMap: [