turtle
turtle
doodle.turtle
Instruction
Instruction
Branch
Forward
NoOp
Turn
Turtle
State
doodle.turtle.examples
CreativeScala
branching
turtle
Geometry
LSystem
flowers
kochCurve
tree
SquareSpiral
turtle
/
doodle.turtle
/
Instruction
Instruction
object
Instruction
Companion:
class
Graph
Supertypes
Self type
trait
Sum
trait
Mirror
class
Object
trait
Matchable
class
Any
Instruction
.type
Type members
Value members
Type members
Classlikes
final case
class
Branch
(
instructions:
List
[
Instruction
])
extends
Instruction
final case
class
Forward
(
distance:
Double
)
extends
Instruction
case
object
NoOp
extends
Instruction
final case
class
Turn
(
angle:
Angle
)
extends
Instruction
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from:
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from:
Mirror
Value members
Concrete methods
def
branch
(
instructions:
Instruction
*):
Branch
def
forward
(
distance:
Double
):
Instruction
def
turn
(
angle:
Angle
):
Instruction
Concrete fields
val
noop
:
Instruction