Lines Matching refs:active
146 this.active = false;
250 if (this.flakes[i].active) {
266 if (storm.flakes[i].active === 0) {
316 storm.active = !storm.active;
317 if (storm.active) {
367 this.active = 1;
434 s.active = 0;
441 if (storm.useMeltEffect && s.active && s.type < 3 && !s.melting && Math.random()>0.998) {
517 s.active = 1;
526 var active = 0, flake = null, i, j;
528 if (storm.flakes[i].active === 1) {
530 active++;
536 if (active<storm.flakesMaxActive) {
538 if (flake.active === 0) {
565 storm.flakes[storm.flakes.length-1].active = -1;
640 storm.active = true;