示例#1
0
        public void AddMoney()
        {
            Dictionary <MoneyType, int> add = new Dictionary <MoneyType, int>
            {
                { MoneyType.Hundred, 1 },
                { MoneyType.FiveHundred, 1 }
            };

            mplayer.Receive(add);
        }
示例#2
0
 public void Setup()
 {
     mplayer                 = new MonopolyPlayer(1, "player 1");
     init                    = new Dictionary <MoneyType, int>();
     init[MoneyType.Ten]     = 4;
     init[MoneyType.One]     = 10;
     init[MoneyType.Five]    = 2;
     init[MoneyType.Twenty]  = 2;
     init[MoneyType.Fifty]   = 2;
     init[MoneyType.Hundred] = 2;
     mplayer.Receive(init);
 }