Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new LessonThreeCpSix(ctx: CanvasRenderingContext2D, editor: Editor): LessonThreeCpSix

Properties

_constraint

_constraint: string = "none"

_goal

_goal: any

Optional _instrBoxes

_instrBoxes: Instruction[] = []

Optional _instrIndex

_instrIndex: number = 0

_instructions

_instructions: string = `<p>Lesson 3 - Checkpoint 6</p>` +`<p>GOAL: Create an if/else statement to print the correct claim about the sizes of the 2 emojis.</p>`

_latestInstrIndex

_latestInstrIndex: number = 3

_name

_name: string = "l3c6"

Optional _starterCode

_starterCode: string

a_size

a_size: number

b_size

b_size: number

ctx

ctx: CanvasRenderingContext2D

editor

editor: Editor

font_size

font_size: number = 20

square_size

square_size: number

xA

xA: number

xB

xB: number

yA

yA: number

yB

yB: number

Accessors

instructions

  • get instructions(): string

name

  • get name(): string

numInstructions

  • get numInstructions(): number

Methods

checkGoal

  • checkGoal(document: Document, effects: Effect<any>[]): boolean

drawGuides

  • drawGuides(): void

renderInstruction

  • renderInstruction(document: Document): void

renderLatestInstruction

  • renderLatestInstruction(document: Document): void

renderNextInstruction

  • renderNextInstruction(document: Document): void

renderPrevInstruction

  • renderPrevInstruction(document: Document): void

skipInstructions

  • skipInstructions(document: Document): boolean

Generated using TypeDoc