Example #1
0
        public void AddPlayer(SimPlayerSpec spec)
        {
            var player = new SimPlayer(spec);

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