Options
All
  • Public
  • Public/Protected
  • All
Menu

Noun class for the Mystery Master Logic Puzzle Solver.

copyright

mysterymaster.com. All rights reserved.

author

Michael Benson

version

2021-08-01

Hierarchy

  • Noun

Index

Constructors

constructor

  • new Noun(num: number, type: NounType, name: string, title?: string): Noun
  • Parameters

    • num: number
    • type: NounType
    • name: string
    • title: string = null

    Returns Noun

Properties

facts

facts: Fact[] = []

name

name: string

name0

name0: string

num

num: number

pairs

pairs: Noun[] = []

title

title: string

title0

title0: string

type

type: NounType

Methods

addNoun

  • addNoun(name: string, title: string): Noun
  • Parameters

    • name: string
    • title: string

    Returns Noun

asString

  • asString(): string
  • Returns string

getPairNoun

  • Parameters

    Returns Noun

getPairNounNum

  • getPairNounNum(nounType: NounType): number
  • Parameters

    Returns number

isPair

  • isPair(noun: Noun): boolean
  • Parameters

    Returns boolean

reset

  • reset(): void
  • Returns void

resetPlacer

  • resetPlacer(): void
  • Returns void

toString

  • toString(): string
  • Returns string

updatePlacer

  • updatePlacer(name: string, title: string): void
  • Parameters

    • name: string
    • title: string

    Returns void

Generated using TypeDoc