Ejemplo n.º 1
0
 protected override void OnDestroy(double currentTime)
 {
     this.alive = false;
     //this.PendingDestroy = true;
     Console.WriteLine("Destroy player ");
     this.spriteAnimation = PlayerAnimations.GetDeathAnimation(1);
     this.spriteAnimation.Start(currentTime);
 }