1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
string currentCard[10];
// array elements are in the order: cardID, Type, Level, Name, Card Type, Race, Class, Effect, Attack, Speed, Defense
string card1[10] = {"1", "White", "1", "Goblin Card", "Creature", "Goblin", "Magi", "This Goblin Card does something", "1", "1", "1"};
void setCurrentCard(int cardNumber) {
case 1:
currentCard = card1;
break;
case 2:
// etc.
default:
// default case
break;
}
|