We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7d4b3 commit a7100f3Copy full SHA for a7100f3
Types/Turtle/get_Minimum.ps1
@@ -1,4 +1,15 @@
1
-if ($this.'.Minimum') {
2
- return $this.'.Minimum'
+<#
+.SYNOPSIS
3
+ Gets a Turtle's lowest point
4
+.DESCRIPTION
5
+ Gets the minimum vector for this turtle.
6
+
7
+ This would the lowest point that the turtle has visted.
8
+#>
9
+[OutputType([Numerics.Vector2])]
10
+param()
11
+if (-not $this.'.Minimum') {
12
+ $this | Add-Member NoteProperty '.Minimum' ([Numerics.Vector2]::new(0,0)) -Force
13
}
-return ([pscustomobject]@{ X = 0; Y = 0 })
14
15
+return $this.'.Minimum'
0 commit comments