public PokerViewModel(IPlayer activePlayer, Deck deck, IList<IPlayer> listBots, IList<IPlayer> players, Table table)
 {
     ActivePlayer = activePlayer;
     Deck = deck;
     ListBots = listBots;
     Players = players;
     Table = table;
 }
Esempio n. 2
0
 private void InitVariables()
 {
     Table = new Table();
     Deck = new Deck();
     Players = new List<IPlayer>();
     RollingIndex = 0;
     PreFlop = true;
 }
Esempio n. 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;
 }
Esempio n. 5
0
 public void Initialize()
 {
     table = new Table();
 }