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
+41
View File
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
namespace KernelPanic.Combat
{
/// <summary>
/// Manages cards currently held in hand with a RAM-based capacity.
/// </summary>
public sealed class HandController
{
private readonly List<CardInstance> cards = new();
public HandController(int ramCapacity)
{
RamCapacity = ramCapacity;
}
public int RamCapacity { get; private set; }
public IReadOnlyList<CardInstance> Cards => cards;
public bool CanAdd(CardInstance card)
{
throw new NotImplementedException();
}
public void Add(CardInstance card)
{
throw new NotImplementedException();
}
public bool Remove(CardInstance card)
{
throw new NotImplementedException();
}
public void Clear()
{
throw new NotImplementedException();
}
}
}