Example #1
0
 public override void Death()
 {
     Bomb(false);
     SoundEngine.PlayClip("playerDeath");
     health = 1;
     TimeSinceDeath = new Timer(4.0f);
     invulnerable = true;
     transform.position = new Vector3(0.0f, -5.0f, 0.0f);
 }
Example #2
0
 public static void RegisterTimer(Timer timer, Action callback)
 {
     _timers.Add(timer, callback);
 }