/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{Milliseconds as t}from"../../../../core/time.js";class e{constructor(e,s){this._camera=e,this._dt=t(0),this._time=t(0),this._lastUpdate=t(0),this._lastUpdate=s,this._time=s}advance(e,s,i){const a=t(s-this._lastUpdate);this._dt=t(a/i),this._time=t(this._time+a),this._lastUpdate=s,this._camera=e}get camera(){return this._camera}get dt(){return this._dt}get time(){return this._time}}export{e as AnimationTimer};
