Esempio n. 1
0
 public TrapCardData(TrapCardData _trapCardData)
     : base(_trapCardData.Id, _trapCardData.Name, _trapCardData.Description, eCardType.TRAP)
 {
     this.TrapType = _trapCardData.TrapType;
 }
Esempio n. 2
0
 public Trap(ContentManager _content, string _cardId)
     : base(_content, ID.CARD, (SpriteID)(Enum.Parse(typeof(SpriteID), "C" + _cardId)), eCardType.TRAP)
 {
     this.Original = new TrapCardData((TrapCardData)CardProvider.GetInstance().GetCardById("C" + _cardId));
 }
Esempio n. 3
0
 public TrapCardData(TrapCardData _trapCardData)
     : base(_trapCardData.Id, _trapCardData.Name, _trapCardData.Description, eCardType.TRAP)
 {
     this.TrapType = _trapCardData.TrapType;
 }
Esempio n. 4
0
 public Trap(ContentManager _content, SpriteID _spriteId)
     : base(_content, ID.CARD, _spriteId, eCardType.TRAP)
 {
     this.Original = new TrapCardData((TrapCardData)CardProvider.GetInstance().GetCardById(_spriteId.ToString()));
 }