Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LevelConfiguration

Specifies a level present in the game.

Hierarchy

  • LevelConfiguration

Index

Properties

Properties

goal

goal: { diameter: number; position: CoordinateConfiguration }

Specification of the goal.

Type declaration

  • diameter: number

    Specifies the diameter of the goal.

    note

    Should be an even number.

  • position: CoordinateConfiguration

    Specifies the position of the goal.

marble

marble: { diameter: number; position: CoordinateConfiguration }

Specifies the configuration of a marble in the current level.

Type declaration

  • diameter: number

    Specifies the diameter of a marble.

    note

    Should be an even number.

  • position: CoordinateConfiguration

    Specifies the start point of a marble.

name

name: string

Display name of the level.

obstacles

Specification of the obstacles.

Generated using TypeDoc