public PokerViewModel(IPlayer activePlayer, Deck deck, IList<IPlayer> listBots, IList<IPlayer> players, Table table)
 {
     ActivePlayer = activePlayer;
     Deck = deck;
     ListBots = listBots;
     Players = players;
     Table = table;
 }
Example #2
0
 private void InitVariables()
 {
     Table = new Table();
     Deck = new Deck();
     Players = new List<IPlayer>();
     RollingIndex = 0;
     PreFlop = true;
 }
Example #3
0
 public Bot(string name, Table table, int seatNr)
 {
     Name = name;
     Table = table;
     SeatNr = seatNr;
     Money += 1000;
     PokerCards = new List<PokerCard>();
     Folded = false;
 }
 public ActivePlayer(string name, Table table, int seatNr, int money)
 {
     Name = name;
     SeatNr = seatNr;
     Table = table;
     PokerCards = new List<PokerCard>();
     Money = money;
     Folded = false;
 }
 public void Initialize()
 {
     table = new Table();
 }