Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Game

Implements

Index

Constructors

constructor

  • Returns Game

Properties

Protected currentScreen

currentScreen: ScreenInterface

Protected display

display: DisplayInterface

Protected engine

engine: Engine

Protected screenFactory

screenFactory: ScreenFactory

Private screenHeight

screenHeight: number = 24

Private screenWidth

screenWidth: number = 80

Methods

getCurrentScreen

getDisplay

  • getDisplay(): DisplayInterface
  • Returns DisplayInterface

handleInput

  • handleInput(event: string): EventListenerOrEventListenerObject
  • Parameters

    • event: string

    Returns EventListenerOrEventListenerObject

switchScreen

Generated using TypeDoc