Example #1
0
 public SpellAndTrapCard(Models.Card card_m)
 {
     Icon             = card_m.Icon;
     CardCategory     = card_m.Category;
     CardText         = card_m.Ctext;
     Name             = card_m.Name;
     Cname            = card_m.Cname;
     Password         = card_m.Password;
     ChooseTargetType = card_m.ChooseTargetType;
     UID    = Guid.NewGuid().ToString();
     Status = new CardStatus();
 }
Example #2
0
 private void Initialize(Models.Card card_m)
 {
     CardCategory      = card_m.Category;
     CardText          = card_m.Ctext;
     Name              = card_m.Name;
     Cname             = card_m.Cname;
     Password          = card_m.Password;
     ATK               = card_m.ATK;
     DEF               = card_m.DEF;
     Attribute         = card_m.Attribute;
     CardType          = card_m.CardType;
     Level             = card_m.Level;
     MonsterType       = card_m.MonsterType;
     SummonedAttribute = card_m.SummonedAttribute;
     ChooseTargetType  = card_m.ChooseTargetType;
     Status            = new CardStatus();
     UID               = Guid.NewGuid().ToString();
 }
Example #3
0
 public MonsterCard()
 {
     CardCategory = (int)Base.CardCategory.Monster;
     Status       = new CardStatus();
 }
Example #4
0
 public SpellAndTrapCard()
 {
     UID    = Guid.NewGuid().ToString();
     Status = new CardStatus();
 }