Exemplo n.º 1
0
        public void onClickShowCards()
        {
            List <string> options = model.getListCard(player);

            if (options.Count < 3)
            {
                view.showMessage("You have 2 or less cards !!!");
            }
            else
            {
                view.showCards(options);
            }
        }
Exemplo n.º 2
0
    public void showCards()
    {
        List <string> cards = dataManager.getListCard();

        view.showCards(cards);
    }