示例#1
0
 // Token: 0x0600121F RID: 4639 RVA: 0x00068E98 File Offset: 0x00067098
 public void OnEnterStompIdleState()
 {
     SeinStomp.OnStompIdleEvent();
     if (!this.Sein.PlayerAbilities.StompUpgrade.HasAbility)
     {
         this.StompStartSound.Play();
     }
     else
     {
         this.StompStartSoundUpgraded.Play();
     }
     this.Sein.PlatformBehaviour.Visuals.Animation.PlayLoop(this.StompIdleAnimation, 111, new Func <bool>(this.ShouldStompAnimationKeepPlaying), false);
 }
示例#2
0
 // Token: 0x06001220 RID: 4640 RVA: 0x00068F14 File Offset: 0x00067114
 public void OnEnterStompDownState()
 {
     SeinStomp.OnStompDownEvent();
     this.PlatformMovement.LocalSpeedX *= 0.5f;
     if (!this.Sein.PlayerAbilities.StompUpgrade.HasAbility)
     {
         this.StompFallSound.Play();
     }
     else
     {
         this.StompFallSoundUpgraded.Play();
     }
     this.Sein.PlatformBehaviour.Visuals.Animation.PlayLoop(this.StompDownAnimation, 111, new Func <bool>(this.ShouldStompAnimationKeepPlaying), false);
 }
示例#3
0
 // Token: 0x06001222 RID: 4642 RVA: 0x00068FA8 File Offset: 0x000671A8
 public void LandStomp()
 {
     this.PlatformMovement.LocalSpeedX = 0f;
     this.PlatformMovement.LocalSpeedY = 0f;
     SeinStomp.OnStompLandEvent();
     if (!this.Sein.PlayerAbilities.StompUpgrade.HasAbility)
     {
         this.StompLandSound.Play();
     }
     else
     {
         this.StompLandSoundUpgraded.Play();
     }
     this.Sein.PlatformBehaviour.Visuals.Animation.Play(this.StompLandAnimation, 111, new Func <bool>(this.ShouldStompLandAnimationKeepPlaying));
     if (this.Sein.Controller.IsSwimming)
     {
         return;
     }
     this.EndStomp();
     this.DoStompBlastEffect();
 }