Being a noob, such a simple question i answered as soon as i posted :| - delete thread please.
XxPKMNxX
0
Newbie Poster
Recommended Answers
Jump to PostYou could write a boolean method that loops through your array, since for every card you're checking the same condition. Then your if statement becomes just a call to that method.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.