Skip to content

Commit 7d76259

Browse files
committed
Changed JSDocs for super.preUpdate from (delta, time) to (time, delta)
1 parent b739656 commit 7d76259

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gameobjects/GameObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ var GameObject = new Class({
739739
* every game frame. This method is passed two parameters: `delta` and `time`.
740740
*
741741
* If you wish to run your own logic within `preUpdate` then you should always call
742-
* `super.preUpdate(delta, time)` within it, or it may fail to process required operations,
742+
* `super.preUpdate(time, delta)` within it, or it may fail to process required operations,
743743
* such as Sprite animations.
744744
*
745745
* @method Phaser.GameObjects.GameObject#addToUpdateList

src/physics/arcade/ArcadePhysics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ var ArcadePhysics = new Class({
165165
*
166166
* If you wish to run the World update at your own rate, or from your own
167167
* component, then you should call this method to disable the built-in link,
168-
* and then call `World.update(delta, time)` accordingly.
168+
* and then call `World.update(time, delta)` accordingly.
169169
*
170170
* Note that `World.postUpdate` is always automatically called when the Scene
171171
* emits a `POST_UPDATE` event, regardless of this setting.

0 commit comments

Comments
 (0)