public override void Update(GameTime gameTime) { if (!IsPaused) { if (Game.PlayerStats.Traits.X != 23f && Game.PlayerStats.Traits.Y != 23f) { if (CollisionMath.Intersects(AbsDetectionRect, m_target.Bounds)) { if (CurrentFrame == 1 || CurrentFrame == TotalFrames) { IsCollidable = true; m_extractLS.Execute(); } } else if (CurrentFrame == 5 && !m_extractLS.IsActive) { IsCollidable = false; PlayAnimation("StartRetract", "RetractComplete"); } } if (m_extractLS.IsActive) { m_extractLS.Update(gameTime); } } base.Update(gameTime); }