Add NixOS and Go

This commit is contained in:
2026-10-27 11:35:32 +01:00
parent 881b61a66d
commit 97d2685302
64 changed files with 1295 additions and 204 deletions
+6
View File
@@ -70,6 +70,12 @@ namespace KernelPanic.Combat
return drawn;
}
public void InitializeInDrawOrder(IEnumerable<CardInstance> cards)
{
_drawPile.Clear(); _discardPile.Clear(); _exhaustPile.Clear();
if (cards != null) _drawPile.AddRange(cards.Where(card => card != null).Reverse());
}
/// <summary>
/// Moves the top card into the hand if its RAM cost fits. A blocked card remains on top,
/// so callers should stop drawing on failure instead of skipping to cheaper cards.