GetUpdatedPositionFunc<SS, PS>: ((simulationState: SS, physicsState: PS) => number)

Type Parameters

Type declaration

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

      Parameters

      • simulationState: SS
      • physicsState: PS

      Returns number

Generated using TypeDoc