public void Update(GameTime gameTime, bool reset) { if (cooldown.CooldownTimerFPS(gameTime, FramesPerSecond, reset)) { FrameNumber++; } if (FrameNumber >= frames.Count) { FrameNumber = 0; } CurrentFrame = frames[FrameNumber]; }