> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/module-documentation/game-module-lists/remove-methods/gameconditionlist-remove-methods.md).

# GameConditionList Remove() Methods

#### Remove all from a specific `IHaveStats` source

<pre class="language-csharp"><code class="lang-csharp"><strong>// These will remove the conditions -- Expiration Conditions will not be added!
</strong><strong>public void RemoveAllFromSource(IHaveStats source, Condition condition)
</strong>public void RemoveAllFromSource(IHaveStats source, GameCondition gameCondition)
public void RemoveAllFromSource(IHaveStats source, string conditionUid = null)
</code></pre>

#### Expire all from a specific `IHaveStats` source

<pre class="language-csharp"><code class="lang-csharp"><strong>// ExpireNow() sets the expiration time to Now. They actually will expire
</strong><strong>// the next frame.
</strong>public void ExpireAllFromSource(IHaveStats source, Condition condition)
public void ExpireAllFromSource(IHaveStats source, GameCondition gameCondition)
public void ExpireAllFromSource(IHaveStats source, string conditionUid = null)

// Example -- Assumes "witch" is an Actor which implements IHaveStats
public void RemoveAllCursesFromWitch() => ExpireAllFromSource(witch);
</code></pre>
