assigning java images to different instances of objects (playing cards)
<p>I'm trying to write an applet to display packs of cards amongst other things.</p>

<p>I have a folder with 52 card images in. </p>

<p>How would I go about assigning an image to each instance of a Card object? </p>

<p>Would I need to create a 52 image array within the object and then assign the right index to each card?</p>

<p>Thanks</p>
