Function get

  • returns the stage associated with the specified state (or the current one if none is specified)

    Parameters

    • Optionalstate: number = _state

      State ID (see constants)

    Returns Stage

    set

    state