Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @pengine/game

Index

Type aliases

BaseGameOptions: { height: number; width: number }

Defines the basic game options which are extended by the dimensional game options.

ATTENTION: You should never rely directly on this interface!

see

TwoDimensionalGameOptions

see

ThreeDimensionalGameOptions

Type declaration

  • height: number

    The height of the game

  • width: number

    The width of the game

CreateGameOptions: Omit<GameOptions, "dimensions">

Defines the options which are needed to initialize a new game

Combines all dimensional game options

ThreeDimensionalGameOptions: { dimensions: Three } & BaseGameOptions

Defines the game options which are needed for creating a three dimensional game

TwoDimensionalGameOptions: { dimensions: Two } & BaseGameOptions

Defines the game options which are needed for creating a two dimensional game

Generated using TypeDoc