Okay, here is an example of a string array that I have. As you can see, I have 15 values within the array that I want to individually assign a set number value to. The array is randomized. Is it best or even possible to create an array housing int values that I can give to each of the values within the String array? Or am I digging my own grave attempting write the program that way? This is just a small portion of the code redacted for an example of the array that I have. Also should I just go the Enum route instead?
public MyDeck() {
int deckMin = 0;
int deckMax = 15;
String [] myCards = {
"Ground Assault I",
"Card Example 1",
"Card Example 2"
"Card Example 3",
"Card Example 4",
"Card Example 5",
"Card Example 6",
"Card Example 7",
"Card Example 8",
"Card Example 9",
"Card Example 10",
"Card Example 11",
"Card Example 12",
"Card Example 13",
"Card Example 14",
"Card Example 15"
};
MyDeck.shuffle(myCards);
for (int i = 0; i < myCards.length; i++) {
System.out.print(myCards[i] + "\n ");
}
}