Refactor alot of stuff

This commit is contained in:
2026-10-29 22:54:29 +01:00
parent c23b666ee4
commit 260abc2c98
138 changed files with 2835 additions and 466 deletions
+7
View File
@@ -32,6 +32,13 @@ namespace KernelPanic.Combat
public IReadOnlyList<CardInstance> ExhaustPile => _exhaustPile;
public int AvailableToDrawCount => _drawPile.Count + _discardPile.Count;
internal void RestorePiles(IEnumerable<CardInstance> draw, IEnumerable<CardInstance> discard, IEnumerable<CardInstance> exhaust)
{
_drawPile.Clear(); _drawPile.AddRange(draw);
_discardPile.Clear(); _discardPile.AddRange(discard);
_exhaustPile.Clear(); _exhaustPile.AddRange(exhaust);
}
public void Initialize(IEnumerable<CardInstance> cards)
{
_drawPile.Clear();