Options
All
  • Public
  • Public/Protected
  • All
Menu

Fact class for the Mystery Master Logic Puzzle Solver.

copyright

mysterymaster.com. All rights reserved.

author

Michael Benson

version

2021-08-01

Hierarchy

  • Fact

Index

Constructors

constructor

  • new Fact(num: number, name: string, noun1: Noun, verb: Verb, link: Link, noun2: Noun, initEnabled?: boolean): Fact
  • Parameters

    • num: number
    • name: string
    • noun1: Noun
    • verb: Verb
    • link: Link
    • noun2: Noun
    • initEnabled: boolean = true

    Returns Fact

Properties

enabled

enabled: boolean

hits

hits: number = 0

initEnabled

initEnabled: boolean

link

link: Link

name

name: string

noun1

noun1: Noun

noun2

noun2: Noun

num

num: number

type

type: number = 0

verb

verb: Verb

Methods

asString

  • asString(): string
  • Returns string

msgBasedOn

  • msgBasedOn(): string
  • Returns string

msgDisabled

  • msgDisabled(): string
  • Returns string

reset

  • reset(): void
  • Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc