Skip to content

Commit 28ec8c9

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.js.penUp/penDown ( Fixes #322, Fixes #323 )
1 parent c1ef128 commit 28ec8c9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Turtle.types.ps1xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8198,6 +8198,22 @@ param()
81988198
<Name>pathData.js</Name>
81998199
<Value>function pathData() { return `m ${this.min.x * -1} ${this.min.y * -1} ${this.steps.join(' ')} ` }</Value>
82008200
</NoteProperty>
8201+
<NoteProperty>
8202+
<Name>penDown.js</Name>
8203+
<Value>function penDown() {
8204+
let $this = this
8205+
$this.isPenDown = false
8206+
return $this
8207+
}</Value>
8208+
</NoteProperty>
8209+
<NoteProperty>
8210+
<Name>penUp.js</Name>
8211+
<Value>function penUp() {
8212+
let $this = this
8213+
$this.isPenUp = false
8214+
return $this
8215+
}</Value>
8216+
</NoteProperty>
82018217
<NoteProperty>
82028218
<Name>polygon.js</Name>
82038219
<Value>function polygon(size, sides = 6) {

0 commit comments

Comments
 (0)