Ejemplo n.º 1
0
 public override void Execute()
 {
     // Let the gameObject deal with this...
     if (this.pSubB.name != GameObject.Name.Ship)
     {
         this.pBomb.delta = 0.0f;
         this.pBomb.pProxySprite.Set(GameSprite.Name.BombExplosion);
         this.pEvent.SetBomb(this.pBomb);
         TimerManager.Add(TimeEvent.Name.RemoveBomb, this.pEvent, 0.5f);
     }
     else
     {
         BombManager.Reset(this.pBomb);
     }
     this.pBomb.pOwner.Handle();
 }
 public override void Execute(float deltaTime)
 {
     BombManager.Reset(this.pBomb);
 }