Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CrosswordClueDefinition

Definition for a clue. Could be down or across

Hierarchy

  • CrosswordClueDefinition

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

across

across: boolean = false

The clue is across or down

answer

answer: string

Word to answer

cells

cells: CrosswordCell[] = []

Cells for which the clue pass through

clue

clue: string

The clue to

Optional code

code: string

Code for the clue. Will be number+(across?"a":"d")

Optional hints

hints: number[] = []

Set one or more letters of the answer as hints.

number

number: number

Number of the clue. Will be used to establish the order of the clues

x

x: number

The start position in X axis

y

y: number

The start position in Y axis

Generated using TypeDoc