Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Protected lastTargets

lastTargets: Array<Unit> = []

Protected optional

optional: boolean = false

Protected targets

targets: Array<Unit> = []

Protected usePronoun

usePronoun: boolean = false

Static Protected id

id: string = "Everyone"

Methods

getId

  • getId(): string
  • Returns string

getLastTargets

  • getLastTargets(): Unit[]

getPronoun

  • getPronoun(): string

getTargets

getText

  • getText(): string
  • Returns string

getTextOrPronoun

  • getTextOrPronoun(): string

getValidTargets

isOptional

  • isOptional(): boolean

isTargetable

  • isTargetable(card: Card, game: Game): boolean

needsInput

  • needsInput(): boolean

setOptional

  • setOptional(val: boolean): this
  • Parameters

    • val: boolean

    Returns this

setTargets

  • setTargets(target: Array<Unit>): void

shouldUsePronoun

  • shouldUsePronoun(usePronoun: boolean): void

targetsAreValid

  • targetsAreValid(card: Card, game: Game): boolean

Static getId

  • getId(): string
  • Returns string

Generated using TypeDoc