|
-
Multidimensional Array Shuffle Problem
Hi,
I am working with a game where I need to use 3d array.
I take random two elements from it and interchange their level,row and column positions . I am able to do this through a single dimensional array. But after doing this I can reflect the changes i made to objects in that 3d array.
So I need to reshuffle this array. Because the array is containing different card objects of a class cards. So I need to reshuffle this cards within the array according to its level,row and columns resp.
Please help..
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|