Interface TurtleEvents

Hierarchy

  • TurtleEvents

Properties

clear: (() => void)

Type declaration

    • (): void
    • Returns void

forward: ((distance) => void)

Type declaration

    • (distance): void
    • Parameters

      • distance: number

      Returns void

goto: ((x, y) => void)

Type declaration

    • (x, y): void
    • Parameters

      • x: number
      • y: number

      Returns void

hide: (() => void)

Type declaration

    • (): void
    • Returns void

left: ((angle) => void)

Type declaration

    • (angle): void
    • Parameters

      • angle: number

      Returns void

putPenDown: (() => void)

Type declaration

    • (): void
    • Returns void

putPenUp: (() => void)

Type declaration

    • (): void
    • Returns void

reset: (() => void)

Type declaration

    • (): void
    • Returns void

right: ((angle) => void)

Type declaration

    • (angle): void
    • Parameters

      • angle: number

      Returns void

setAngle: ((angle) => void)

Type declaration

    • (angle): void
    • Parameters

      • angle: number

      Returns void

setColor: ((color) => void)

Type declaration

setDelay: ((ms) => void)

Type declaration

    • (ms): void
    • Parameters

      • ms: number

      Returns void

setLineCap: ((cap) => void)

Type declaration

    • (cap): void
    • Parameters

      Returns void

setShape: ((shape) => void)

Type declaration

    • (shape): void
    • Parameters

      Returns void

setWidth: ((width) => void)

Type declaration

    • (width): void
    • Parameters

      • width: number

      Returns void

show: (() => void)

Type declaration

    • (): void
    • Returns void

step: ((step) => void)

Type declaration

    • (step): void
    • Emitted at every steps when StepByStep mode is enabled.

      See

      stepByStep

      Parameters

      Returns void

Generated using TypeDoc