Implement basic structure for combat system and refactor code

This commit is contained in:
2026-07-03 13:14:36 +02:00
parent 754f81eb4c
commit d98d34ec3f
78 changed files with 1212 additions and 13 deletions
+49
View File
@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
namespace KernelPanic.Combat
{
/// <summary>
/// Manages draw, discard, and exhaust piles for a combat deck.
/// </summary>
public sealed class DeckController
{
private readonly List<CardInstance> drawPile = new();
private readonly List<CardInstance> discardPile = new();
private readonly List<CardInstance> exhaustPile = new();
public IReadOnlyList<CardInstance> DrawPile => drawPile;
public IReadOnlyList<CardInstance> DiscardPile => discardPile;
public IReadOnlyList<CardInstance> ExhaustPile => exhaustPile;
public void Initialize(IEnumerable<CardInstance> cards)
{
throw new NotImplementedException();
}
public IReadOnlyList<CardInstance> Draw(int count)
{
throw new NotImplementedException();
}
public void Discard(CardInstance card)
{
throw new NotImplementedException();
}
public void Exhaust(CardInstance card)
{
throw new NotImplementedException();
}
public void ShuffleDrawPile()
{
throw new NotImplementedException();
}
public void ReshuffleDiscardIntoDraw()
{
throw new NotImplementedException();
}
}
}