Esempio n. 1
0
        //Called to kill the enemy.  A cool sound is played,
        //the jets are turned off, bits are exploded, and points are rewarded.

        public override void kill()
        {
            if (!Alive)
            {
                return;
            }
            _sfxExplode.play(true);
            base.kill();
            flicker(0);
            _jets.kill();
            _gibs.at(this);
            _gibs.start(true, 3, 0, 20);
            FlxG.score += 200;
        }