Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game<Dimension>

Defines the game class

export

Type parameters

Hierarchy

  • Game

Index

Constructors

  • Creates an instance of Game

    memberof

    Game

    Type parameters

    Parameters

    • gameOptions: GameOptions

      The options which are needed to initialize a new game

    Returns Game<Dimension>

Properties

logger: Debugger = ...

The logger instance which is used to log messages

memberof

Game

Methods

  • Creates a new three dimensional game

    static
    memberof

    Game

    Parameters

    • gameOptions: CreateGameOptions

      The options which are needed to initialize a new game

    Returns Game<Three>

    The new three dimensional game

  • Creates a new two dimensional game

    static
    memberof

    Game

    Parameters

    • gameOptions: CreateGameOptions

      The options which are needed to initialize a new game

    Returns Game<Two>

    The new two dimensional game

Generated using TypeDoc