public void AddPlayer(SimPlayerSpec spec) { var player = new SimPlayer(spec); PlayerMap.Add(player.ID, player); EntityMap.Add(player.ID, player); }
public SimPlayer(SimPlayerSpec spec) : base(spec.EntitySpec) { IsLocal = spec.IsLocal; Deck = new SimDeck(); ZonePlay = new SimZone(); ZoneHand = new SimZone(); ZoneGraveyard = new SimZone(); }