Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Screen
    • WinScreen

Implements

  • ObservableInterface
  • ObservableInterface
  • ScreenInterface

Index

Constructors

constructor

  • Parameters

    • engine: Engine

    Returns WinScreen

Properties

Protected engine

engine: Engine

Protected name

name: string

Protected observers

observers: ObserverInterface[]

Methods

attach

  • attach(observer: ObserverInterface): void
  • Parameters

    • observer: ObserverInterface

    Returns void

detach

  • detach(observer: ObserverInterface): void
  • Parameters

    • observer: ObserverInterface

    Returns void

enter

  • enter(): void
  • Returns void

exit

  • exit(): void
  • Returns void

getObservers

  • getObservers(): ObserverInterface[]
  • Returns ObserverInterface[]

handleInput

  • handleInput(): string | null
  • Returns string | null

notify

  • notify(message: string): void
  • Parameters

    • message: string

    Returns void

render

  • render(display: DisplayInterface): void
  • Parameters

    • display: DisplayInterface

    Returns void

Generated using TypeDoc