コード例 #1
0
        public bool UsePapaPapaCombination(Gamer gamer)
        {
            Father father   = new Father();
            Nest   nest     = new Nest();
            int    IDMother = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDMother, cardDeck);
            int IDFather = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDMother, cardDeck);
            int IDNest = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDFather, cardDeck);
        }
コード例 #2
0
        public void UseMamaPapaNestCombination(Gamer gamer, Deck cardDeck)
        {
            Mother mother   = new Mother();
            Father father   = new Father();
            Nest   nest     = new Nest();
            int    IDMother = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDMother, cardDeck);
            int IDFather = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDMother, cardDeck);
            int IDNest = DefineRequiredCardID(mother, gamer);

            UseThrowCardCombination(gamer, IDFather, cardDeck);
        }