Assigning values to bitmaps in a sequence :)
- Posted by David Roach <roachd_76 at YAHOO.COM> Dec 02, 1999
- 364 views
Hello all, This stuff is finally starting to make since to me. Just a little problem. I am working on my first program, Black Jack. I have 52 bitmaps named "1-52.bmp". These are loaded into a sequence Deck. Now how do assign values to the elements in Deck. Lets say the ace of hearts is loaded into Deck[1] how do I assign it a value of 1 and still keep the bitmap loaded into that element. Or would I use another element like Deck[2] for the value of the card. Basicaly I need to have a value associated with a Bitmap in a sequence. Any help would be greatly apriciated. roachd_76 at yahoo.com