File tree Expand file tree Collapse file tree
v3/src/gameobjects/emitter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,16 +245,16 @@ var ParticleEmitter = new Class({
245245
246246 explode : function ( count )
247247 {
248- if ( ! count ) count = 100 ;
249- this . emitParticle ( 100 ) ;
248+ if ( ! count ) { count = 100 ; }
249+ this . emitParticle ( count ) ;
250250 } ,
251251
252252 setShape : function ( shape )
253253 {
254254 this . emitShape = shape ;
255255 } ,
256256
257- emitParticle : function ( count )
257+ emitParticle : function ( count )
258258 {
259259 count = count || 1 ;
260260
@@ -305,7 +305,7 @@ var ParticleEmitter = new Class({
305305 particle . end . rotation = this . endAngle * Math . PI / 180 ;
306306 particle . color = ( particle . color & 0x00FFFFFF ) | ( ( ( this . startAlpha * 0xFF ) | 0 ) << 24 ) ;
307307 particle . index = this . alive . length ;
308-
308+
309309 this . alive . push ( particle ) ;
310310 }
311311 return particle ;
You can’t perform that action at this time.
0 commit comments