Global Variables
The following global variables are available globally.
-
An alias of
resetHeadingDeclaration
Swift
public let resetH: () -> TurtleCommand -
An alias of
setHeadingDeclaration
Swift
public let setH: (Int) -> TurtleCommand -
An alias of
leftDeclaration
Swift
public let lt: (Int) -> TurtleCommand -
An alias of
rightDeclaration
Swift
public let rt: (Int) -> TurtleCommand -
An alias of
forward.Declaration
Swift
public let fd: (Int) -> TurtleCommand -
An alias of
loop.Declaration
Swift
public let `repeat`: (Int, () -> [TurtleCommand]) -> TurtleCommand
Global Variables Reference