Options
All
  • Public
  • Public/Protected
  • All
Menu

A singleton Tour Collection class responsible for registering and activating Tours, accessible as game.tours

see

{Game#tours}

Hierarchy

Index

Constructors

Methods

Constructors

Methods

  • register(namespace: string, id: string, tour: Tour): void
  • Register a new Tour

    Parameters

    • namespace: string

      The namespace of the Tour

    • id: string

      The machine-readable id of the Tour

    • tour: Tour

      The constructed Tour

    Returns void

  • set(key: any, tour: any): Tours
  • inheritdoc
    override

    Parameters

    • key: any
    • tour: any

    Returns Tours