CardPrinted get abilities?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
2 posts
• Page 1 of 1
CardPrinted get abilities?
by mcrawford620 » 27 Aug 2012, 19:09
I'm trying to figure out how to get the card's abilities when I just have a CardPrinted. Is there a way?
What I want to do is, for instance, given a Drowned Catacomb, find out what color mana it produces. Then the AI could decide whether to put it into his deck.
Perhaps that's beyond the intended abilities of CardPrinted, or maybe I'm missing something obvious. Thanks!
What I want to do is, for instance, given a Drowned Catacomb, find out what color mana it produces. Then the AI could decide whether to put it into his deck.
Perhaps that's beyond the intended abilities of CardPrinted, or maybe I'm missing something obvious. Thanks!
- mcrawford620
- Posts: 112
- Joined: 25 Jun 2012, 16:59
- Has thanked: 55 times
- Been thanked: 25 times
Re: CardPrinted get abilities?
by Max mtg » 27 Aug 2012, 22:30
You are right, that was never intended. =(
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 51 guests