Add fixture for a pair of sequences

pull/974/head
connor rigby 2019-01-29 11:58:14 -08:00 committed by Connor Rigby
parent a253715e96
commit 2d3f81b1e6
No known key found for this signature in database
GPG Key ID: 29A88B24B70456E0
1 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,92 @@
[
{
"id": 777,
"kind": "sequence",
"args": {
"version": 20180209,
"locals": {
"kind": "scope_declaration",
"args": {},
"body": [
{
"kind": "variable_declaration",
"args": {
"label": "parent",
"data_value": {
"kind": "point",
"args": {
"pointer_type": "Plant",
"pointer_id": 456
}
}
}
}
]
}
},
"body": [
{
"kind": "execute",
"args": {
"sequence_id": 123
},
"body": [
{
"kind": "variable_declaration",
"args": {
"label": "parent",
"data_value": {
"kind": "identifier",
"args": {
"label": "parent"
}
}
}
}
]
}
]
},
{
"id": 123,
"kind": "sequence",
"args": {
"version": 20180209,
"locals": {
"kind": "scope_declaration",
"args": {},
"body": [
{
"kind": "parameter_declaration",
"args": {
"label": "parent",
"data_type": "point"
}
}
]
}
},
"body": [
{
"kind": "move_absolute",
"args": {
"speed": 100,
"location": {
"kind": "identifier",
"args": {
"label": "parent"
}
},
"offset": {
"kind": "coordinate",
"args": {
"x": 0,
"y": 0,
"z": 0
}
}
}
}
]
}
]