Forward class

Asks the turtle to move forward.

If the pen is down, draws a line.

Implemented types
Implementers
Annotations

Constructors

Forward(double distance(Map))
Creates a new instance.
const

Properties

distance double Function(Map)
The distance in points.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createInstruction(TurtleState turtle, Map argv) List<Instruction>
Creates instructions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited