コード例 #1
0
        public Card(
            Deck deck,
            string sideA,
            string sideB)
        {
            this.Deck = deck;

            this.SideA = sideA;
            this.SideB = sideB;

            var instanceAToB = new CardInstance(this);

            instanceAToB.SideAToB = true;
            this.Instances.Add(instanceAToB);
            var instanceBToA = new CardInstance(this);

            instanceBToA.SideAToB = false;
            this.Instances.Add(instanceBToA);
        }
コード例 #2
0
 public CardReview(CardInstance instance)
 {
     this.Instance = instance;
 }
コード例 #3
0
 public CardPlan(CardInstance instance)
 {
     this.Instance = instance;
 }