public TrapCardData(TrapCardData _trapCardData) : base(_trapCardData.Id, _trapCardData.Name, _trapCardData.Description, eCardType.TRAP) { this.TrapType = _trapCardData.TrapType; }
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)); }
public TrapCardData(TrapCardData _trapCardData) : base(_trapCardData.Id, _trapCardData.Name, _trapCardData.Description, eCardType.TRAP) { this.TrapType = _trapCardData.TrapType; }
public Trap(ContentManager _content, SpriteID _spriteId) : base(_content, ID.CARD, _spriteId, eCardType.TRAP) { this.Original = new TrapCardData((TrapCardData)CardProvider.GetInstance().GetCardById(_spriteId.ToString())); }