home *** CD-ROM | disk | FTP | other *** search
- class Invulnerable extends Germ
- {
- function Invulnerable()
- {
- super();
- }
- function update(nElapsed)
- {
- this.render();
- }
- function react(oPlayer)
- {
- var _loc1_ = this;
- _global.oSound.playSnd("pickup");
- oPlayer.invulnerable();
- switch(_loc1_.nSegment)
- {
- case 0:
- _loc1_.oData.sPowerupBot = null;
- break;
- case 1:
- _loc1_.oData.sPowerupMid = null;
- break;
- case 2:
- _loc1_.oData.sPowerupTop = null;
- }
- delete _loc1_.mcBuild.mcGerm;
- _loc1_.handler.removeClip(_loc1_);
- }
- }
-