new battle gui

This commit is contained in:
cthangover committed 2026-09-28 10:48:04 +03:00
1 parent b5ad139d69
commit 8fbac46378
59 files changed
+2897 -37

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
namespace Cthangover.Core.Characters
{
/// <summary>
/// Lightweight snapshot of damage/defence values for battle action results.
/// A struct to avoid heap allocation in the battle loop where these are
/// created for every action exchange. Used by ChangedAttributes to carry
/// both source and target state.
/// </summary>
public struct CharacterSet
{
/// <summary>
/// Damage dealt or received in this exchange.
/// </summary>
public int Damage;
/// <summary>
/// Defence value at the time of the exchange.
/// </summary>
public int Defence;
}
}