Skip to content

Commit 7cffde5

Browse files
author
James Brundage
committed
feat: Turtle.Rotate() ( Fixes #5 )
1 parent 05ff09b commit 7cffde5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Types/Turtle/Rotate.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<#
2+
.SYNOPSIS
3+
Rotates the turtle.
4+
.DESCRIPTION
5+
Rotates the turtle by the specified angle.
6+
#>
7+
param([double]$Angle = 90)
8+
$this.Heading += $Angle

0 commit comments

Comments
 (0)