hi
I have created the discard method in my player class and play is a Card[]
so i type currentCards.discard(numOfCard); and then it says "it cant invoke discard(int) on the array type card[]"
any help is appreciated thanks
Printable View
hi
I have created the discard method in my player class and play is a Card[]
so i type currentCards.discard(numOfCard); and then it says "it cant invoke discard(int) on the array type card[]"
any help is appreciated thanks
Post the code that you are using.