Skip to content

Commit 430782d

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.js.go ( Fixes #330 )
1 parent 62806e0 commit 430782d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Turtle.types.ps1xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8396,6 +8396,16 @@ param()
83968396
<Name>get_heading.js</Name>
83978397
<Value>heading: 0.0</Value>
83988398
</NoteProperty>
8399+
<NoteProperty>
8400+
<Name>go.js</Name>
8401+
<Value>function go() {
8402+
const parsedArgs = this.parse.call(this, ...arguments)
8403+
let $this = this
8404+
for (let parsed of parsedArgs) {
8405+
let result = $this[parsed.method](...parsed.arguments)
8406+
}
8407+
}</Value>
8408+
</NoteProperty>
83998409
<NoteProperty>
84008410
<Name>goto.js</Name>
84018411
<Value>function goto(x,y) { return this.step(x - this.x, y - this.y) }</Value>

0 commit comments

Comments
 (0)