예제 #1
0
 public void Start()
 {
     GameIO.GameOut.SendGameStartSignal(this);
     for (int i = 0; i < 3; i++)
     {
         deck.Add(new ZhengChang());
         deck.Add(new XiKun());
         deck.Add(new ZongLi());
         deck.Add(new ShiZhong());
         deck.Add(new GuoYu());
         deck.Add(new QiMai());
         deck.Add(new WenZhe());
         deck.Add(new JiaYu());
         deck.Add(new YingJiu());
         deck.Add(new ShuiBian());
         deck.Add(new YouYi());
         deck.Add(new ShiJian());
         deck.Add(new WeiJie());
         deck.Add(new HuiZhen());
         deck.Add(new PrideParade());
         deck.Add(new CtiNews());
         deck.Add(new Earthquake());
         deck.Add(new Inflation());
         deck.Add(new FakeNews());
     }
     for (int i = 0; i < timeOfDrawWhenStart; i++)
     {
         player.DrawAndAdd();
         computer.DrawAndAdd();
     }
 }
예제 #2
0
        public async override Task GoOnField()
        {
            await base.GoOnField();

            Player.DrawAndAdd();
        }