You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {number} time - The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout.
27
+
* @param {number} average - The Delta Average.
28
+
* @param {number} interpolation - Interpolation - how far between what is expected and where we are?
29
+
*/
30
+
23
31
/**
24
32
* @classdesc
25
33
* [description]
@@ -78,7 +86,7 @@ var TimeStep = new Class({
78
86
* @since 3.0.0
79
87
*/
80
88
this.running=false;
81
-
89
+
82
90
/**
83
91
* The minimum fps rate you want the Time Step to run at.
84
92
*
@@ -90,7 +98,7 @@ var TimeStep = new Class({
90
98
91
99
/**
92
100
* The target fps rate for the Time Step to run at.
93
-
*
101
+
*
94
102
* Setting this value will not actually change the speed at which the browser runs, that is beyond
95
103
* the control of Phaser. Instead, it allows you to determine performance issues and if the Time Step
96
104
* is spiraling out of control.
@@ -154,7 +162,7 @@ var TimeStep = new Class({
154
162
/**
155
163
* A callback to be invoked each time the Time Step steps.
156
164
*
157
-
* @property {function} callback
165
+
* @property {TimeStepCallback} callback
158
166
* @default NOOP
159
167
* @since 3.0.0
160
168
*/
@@ -379,7 +387,7 @@ var TimeStep = new Class({
379
387
* @method Phaser.Boot.TimeStep#start
380
388
* @since 3.0.0
381
389
*
382
-
* @param {function} callback - The callback to be invoked each time the Time Step steps.
390
+
* @param {TimeStepCallback} callback - The callback to be invoked each time the Time Step steps.
0 commit comments