It is currently 10 Sep 2025, 23:23
   
Text Size

CardPrinted get abilities?

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

CardPrinted get abilities?

Postby 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!
mcrawford620
 
Posts: 112
Joined: 25 Jun 2012, 16:59
Has thanked: 55 times
Been thanked: 25 times

Re: CardPrinted get abilities?

Postby 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


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 51 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 51 users online :: 0 registered, 0 hidden and 51 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 51 guests

Login Form