public override void Execute() { AnimationSprite pAnimShip = new AnimationSprite(GameSprite.Name.ShipDies); pAnimShip.Attach(Image.Name.ShipDiesB); pAnimShip.Attach(Image.Name.ShipDiesA); TimerMan.Add(TimerEvent.Name.AnimShip, pAnimShip, 0.1f, true); RemoveSprite pAnimGameObjDies = new RemoveSprite(this.pGameObj); TimerMan.Add(TimerEvent.Name.Explosion, pAnimGameObjDies, 0.3f, false); }
public override void Execute() { RemoveSprite pAnimGameObjDies = new RemoveSprite(this.pGameObj); TimerMan.Add(TimerEvent.Name.Explosion, pAnimGameObjDies, 0.3f, false); }