コード例 #1
0
        // todo add List of players in current game

        static GameManager()
        {
            PlayedCardsPack = new UIProperty <CardPack>(new CardPack());
            PackOnTable     = new UIProperty <CardPack>(new CardPack());
            MyPack          = new UIProperty <CardPack>(new CardPack());

            PlayerOnTurn = new UIProperty <Player>(null);
            CardsFloated = new UIProperty <int>(0);
        }
コード例 #2
0
 public Player(int id, string p)
 {
     this.UserID     = id;
     this.Username   = p;
     this.MyLeverage = new UIProperty <double>(1);
 }