Interface IGameConfig

Your game should default export this interface, describing how to configure and play your game.

Hierarchy

  • IGameConfig

Properties

Game: (new () => IGame)

Type declaration

    • new (): IGame
    • Constructor for your custom game class. Your game must have a parameterless constructor.

      Returns IGame

apiVersion: number

Describes which version of the BGE API your game was built with. This should be set to API_VERSION in bge-core.

maxPlayers: number

Maximum number of players your game supports.

minPlayers: number

Minimum number of players your game supports.

settings?: ISettings

Generated using TypeDoc