File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -365,10 +365,10 @@ return $this
365
365
[double]$Angle = 90
366
366
)
367
367
368
- return $this.LSystem('A', @{
368
+ return $this.LSystem('A', [Ordered] @{
369
369
A = '+BF-AFA-FB+'
370
370
B = '-AF+BFB+FA-'
371
- }, $Order, @{
371
+ }, $Order, [Ordered] @{
372
372
'F' = { $this.Forward($Size) }
373
373
'\+' = { $this.Rotate($Angle) }
374
374
'\-' = { $this.Rotate($Angle * -1) }
@@ -1837,6 +1837,16 @@ if ($posY -gt $this.'.Maximum'.Y) {
1837
1837
}
1838
1838
</SetScriptBlock >
1839
1839
</ScriptProperty >
1840
+ <ScriptProperty >
1841
+ <Name >Stack</Name >
1842
+ <GetScriptBlock >
1843
+ if ($null -ne $this.'.Stack'.Count) {
1844
+ $this | Add-Member NoteProperty '.Stack' ([Collections.Stack]::new()) -Force
1845
+ }
1846
+ $this.'.Stack'
1847
+
1848
+ </GetScriptBlock >
1849
+ </ScriptProperty >
1840
1850
<ScriptProperty >
1841
1851
<Name >Steps</Name >
1842
1852
<GetScriptBlock >
You can’t perform that action at this time.
0 commit comments