File tree Expand file tree Collapse file tree
src/gameobjects/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,10 +34,9 @@ Phaser.Component.BringToTop.prototype.sendToBack = function() {
3434* Moves the given child up one place in this group unless it's already at the top.
3535*
3636* @method Phaser.Group#moveUp
37- * @param {any } child - The child to move up in the group.
3837* @return {any } The child that was moved.
3938*/
40- Phaser . Component . BringToTop . prototype . moveUp = function ( child ) {
39+ Phaser . Component . BringToTop . prototype . moveUp = function ( ) {
4140
4241 if ( this . parent )
4342 {
@@ -52,10 +51,9 @@ Phaser.Component.BringToTop.prototype.moveUp = function (child) {
5251* Moves the given child down one place in this group unless it's already at the bottom.
5352*
5453* @method Phaser.Group#moveDown
55- * @param {any } child - The child to move down in the group.
5654* @return {any } The child that was moved.
5755*/
58- Phaser . Component . BringToTop . prototype . moveDown = function ( child ) {
56+ Phaser . Component . BringToTop . prototype . moveDown = function ( ) {
5957
6058 if ( this . parent )
6159 {
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ Phaser.Component.Core.preUpdate = function () {
7373 this . body . preUpdate ( ) ;
7474 }
7575
76- // Update any Children
7776 for ( var i = 0 ; i < this . children . length ; i ++ )
7877 {
7978 this . children [ i ] . preUpdate ( ) ;
@@ -195,7 +194,6 @@ Phaser.Component.Core.prototype = {
195194 Phaser . Component . FixedToCamera . postUpdate . call ( this ) ;
196195 }
197196
198- // Update any Children
199197 for ( var i = 0 ; i < this . children . length ; i ++ )
200198 {
201199 this . children [ i ] . postUpdate ( ) ;
Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ Phaser.Component.FixedToCamera.prototype = {
2323 /**
2424 * @property {Phaser.Point } cameraOffset - If this object is fixedToCamera then this stores the x/y offset that it is drawn at. Values are relative to the top-left of the camera view.
2525 */
26- cameraOffset : new Phaser . Point ( ) ,
26+ cameraOffset : new Phaser . Point ( )
2727
2828} ;
You can’t perform that action at this time.
0 commit comments