UpdateSpeedFunc<SS, PS>: ((simulationState: SS, physicsState: PS) => boolean)

Type Parameters

Type declaration

    • (simulationState: SS, physicsState: PS): boolean
    • Callback for updating the current speed of the train

      Parameters

      • simulationState: SS
      • physicsState: PS

      Returns boolean

Generated using TypeDoc