/// <summary> /// Marks the <see cref="CaptureZone"/> as updated. /// WARNING: This should not be called outside of an <see cref="IScreenCapture"/>! /// </summary> public void SetUpdated() { IsUpdateRequested = false; BlackBars.InvalidateCache(); Updated?.Invoke(this, new EventArgs()); }
public static void Draw(SpriteBatch spriteBatch) { WhiteFlash.Draw(spriteBatch); RewindEffect.Draw(spriteBatch); ColoredCorners.Draw(spriteBatch); if (TMBAW_Game.CurrentGameMode == GameMode.Play && !StoryTracker.InCutscene) { Heart.Draw(spriteBatch); Coin.Draw(spriteBatch); } DarkBackground.Draw(spriteBatch); BlackFade.Draw(spriteBatch); BlackBars.Draw(spriteBatch); }