public ServerStarterModel(PlayerInfo playerInfo)
     : base(Guid.NewGuid().ToString())
 {
     this.console = new ConsoleModel(Guid.NewGuid().ToString());
       this.playerInfo = playerInfo;
       this.connectedPlayers = new ObservableCollection<PlayerAccountData>();
 }
 public ClientStarterModel(PlayerInfo playerInfo, DeckItem deck, ServicesProvider servicesProvider)
     : base(Guid.NewGuid().ToString())
 {
     this.console = new ConsoleModel(Guid.NewGuid().ToString());
       this.deck = deck;
       this.playerInfo = playerInfo;
       this.players = new ObservableCollection<PlayerAccountData>();
 }
Example #3
0
 public GameModel(GameInfoItem gameItem)
     : base(Guid.NewGuid().ToString())
 {
     this.GameItem = gameItem;
       this.Players = new ModelCollection(this);
       this.Lookups = new ModelCollection(this);
       this.Commands = new ModelCollection(this);
       this.CardDisplay = new CardDisplayModel(Guid.NewGuid().ToString());
       this.Console = new ConsoleModel(Guid.NewGuid().ToString());
 }
 public ClientRestarterModel()
     : base(Guid.NewGuid().ToString())
 {
     this.players = new ModelCollection(this);
       this.console = new ConsoleModel(Guid.NewGuid().ToString());
 }