public Hand(string id = "") { if (id == "") { this.id = IdIssuer.IssueId(this); } else { IdIssuer.RegisterId(id, this); this.id = id; } }
public Unit(UnitCard card, int id, GameManager gm) { this.id = "" + id; IdIssuer.RegisterId(this.id, this); Constructor(card, gm); }
public Unit(UnitCard card, GameManager gm) { this.id = IdIssuer.IssueId(this); Constructor(card, gm); }
public CardListDelta(XmlElement from, IdIssuer <T> issuer, CardLoader cl) : base(from, issuer, cl) { this.Index = Int32.Parse(from.Attributes["index"].Value); this.Mode = from.Attributes["mode"].Value == "add" ? DeltaMode.ADD : DeltaMode.REMOVE; // use remove as default b/c more likely to error if chosen eroniously }