Exemplo n.º 1
0
 public void Trigger()
 {
     Sprite.SetCurrentAnimation(TriggerAnimation, true);
     SoundManager.PlaySound(ContentPaths.Audio.Oscar.sfx_trap_trigger, GlobalTransform.Translation, false);
     ShouldDie = true;
     DeathTimer.Reset(DeathTimer.TargetTimeSeconds);
 }