using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CommanderAILab.Models
{
/// Runtime data model for a token on the battlefield.
[Serializable]
public class TokenModel
{
public string id;
public string name;
public string power;
public string toughness;
/// Single letter: W U B R G C
public string colorCode = "C";
public int ownerSeat;
public int qty = 1;
public bool isTapped;
public Dictionary counters = new();
public string PTString =>
(!string.IsNullOrEmpty(power) && !string.IsNullOrEmpty(toughness))
? $"{power}/{toughness}" : "";
}
}