Exemplo n.º 1
0
        public WarViewModel(HandResult result)
        {
            PlayerOneHand = result.PlayerOneHand;
            PlayerTwoHand = result.PlayerTwoHand;

            RecentResults = result;
        }
Exemplo n.º 2
0
        public WarViewModel()
        {
            Random random = new Random();
            PlayerOneHand = new Hand(Hand.generateRandom(26, random));
            PlayerTwoHand = new Hand(Hand.generateRandom(26, random));

            RecentResults = new HandResult();
        }