More move scripts

This commit is contained in:
Deukhoofd committed 2025-05-03 17:52:50 +02:00
1 parent f8c43b6ba0
commit 1973ff50fa
52 files changed
+704 -78

No files matched your search

@@ -132,6 +132,9 @@ public class BattleChoiceQueue : IDeepCloneable
public ITurnChoice? FirstOrDefault(Func<ITurnChoice, bool> predicate) =>
_choices.Skip(_currentIndex).WhereNotNull().FirstOrDefault(predicate);
public IEnumerable<ITurnChoice> Where(Func<ITurnChoice, bool> predicate) =>
_choices.Skip(_currentIndex).WhereNotNull().Where(predicate);
/// <summary>
/// Removes a choice from the queue.
/// </summary>