File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License }
55 */
66
7- // bitmask flag for GameObject.renderMask
8- var _FLAG = 8 ; // 1000
9-
107/**
118 * Provides methods used for getting and setting the texture of a Game Object.
129 *
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ var Class = require('../../utils/Class');
88var DegToRad = require ( '../../math/DegToRad' ) ;
99var DistanceBetween = require ( '../../math/distance/DistanceBetween' ) ;
1010
11- var GetColor = function ( value )
12- {
13- return ( value >> 16 ) + ( value & 0xff00 ) + ( ( value & 0xff ) << 16 ) ;
14- } ;
15-
1611/**
1712 * @classdesc
1813 * A Particle is a simple Game Object controlled by a Particle Emitter and Manager, and rendered by the Manager.
Original file line number Diff line number Diff line change @@ -1196,7 +1196,7 @@ var StaticTilemapLayer = new Class({
11961196 this . cullCallback = null ;
11971197
11981198 GameObject . prototype . destroy . call ( this ) ;
1199- } ,
1199+ }
12001200
12011201} ) ;
12021202
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ var UUID = function ()
1919{
2020 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' . replace ( / [ x y ] / g, function ( c )
2121 {
22- var r = Math . random ( ) * 16 | 0 , v = c == 'x' ? r : ( r & 0x3 | 0x8 ) ;
22+ var r = Math . random ( ) * 16 | 0 ;
23+ var v = ( c === 'x' ) ? r : ( r & 0x3 | 0x8 ) ;
24+
2325 return v . toString ( 16 ) ;
2426 } ) ;
2527} ;
You can’t perform that action at this time.
0 commit comments