public CrumblerState(TrileInstance instance, CrumblersHost host) { ServiceHelper.InjectServices((object)this); this.Host = host; this.Instance = instance; this.OriginalCenter = instance.PhysicsState.Center; Waiters.Wait(0.5, new Action(this.StartCrumbling)).AutoPause = true; Waiters.Wait(2.5, new Action(this.Respawn)).AutoPause = true; SoundEffectExtensions.EmitAt(host.sWarning, this.OriginalCenter, RandomHelper.Centered(0.00999999977648258)); }
public CrumblerState(TrileInstance instance, CrumblersHost host) { ServiceHelper.InjectServices((object) this); this.Host = host; this.Instance = instance; this.OriginalCenter = instance.PhysicsState.Center; Waiters.Wait(0.5, new Action(this.StartCrumbling)).AutoPause = true; Waiters.Wait(2.5, new Action(this.Respawn)).AutoPause = true; SoundEffectExtensions.EmitAt(host.sWarning, this.OriginalCenter, RandomHelper.Centered(0.00999999977648258)); }