Пример #1
0
 // Token: 0x0600025E RID: 606 RVA: 0x000103C8 File Offset: 0x0000E5C8
 public bool SmashIsWallX(LevelScreen.CollisionInfo info, Vector2 velocity)
 {
     if (info.smash_type == SmashType.Right)
     {
         return(info.smash && !this.IsOnSmash && velocity.X > 0f);
     }
     return(info.smash_type == SmashType.Left && info.smash && !this.IsOnSmash && velocity.X < 0f);
 }
Пример #2
0
 // Token: 0x0600025D RID: 605 RVA: 0x00010360 File Offset: 0x0000E560
 public bool SmashIsWallY(LevelScreen.CollisionInfo info, Vector2 velocity)
 {
     if (info.smash_type == SmashType.Top)
     {
         return(info.smash && !this.IsOnSmash && velocity.Y > 0f);
     }
     return(info.smash_type == SmashType.Bottom && info.smash && !this.IsOnSmash && velocity.Y < 0f);
 }