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
+20
View File
@@ -0,0 +1,20 @@
using KernelPanic.Data;
namespace KernelPanic.Combat
{
/// <summary>
/// Represents one runtime card and its per-combat mutable state.
/// </summary>
public sealed class CardInstance
{
public CardInstance(CardDefinition definition)
{
Definition = definition;
}
public CardDefinition Definition { get; }
public int TemporaryCostDelta { get; set; }
public bool IsBroken { get; set; }
public bool IsLocked { get; set; }
}
}