Esempio n. 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);
        }
 public CardReview(CardInstance instance)
 {
     this.Instance = instance;
 }
Esempio n. 3
0
 public CardPlan(CardInstance instance)
 {
     this.Instance = instance;
 }