T
TheDragon327
Guest
so i have a grid that is 2 wide with and index of 50 items
if items at index 5 are apple,25
and items at index 12 are orange,30
when i do a shuffle...i want items apple,25 and orange,30 to still be together...but at different index values?
i dont want apple to be at index 2 and 25 to be at index 11...i want them to stay together
can someone tell me what DS structure or command to use for this type of operation?
if items at index 5 are apple,25
and items at index 12 are orange,30
when i do a shuffle...i want items apple,25 and orange,30 to still be together...but at different index values?
i dont want apple to be at index 2 and 25 to be at index 11...i want them to stay together
can someone tell me what DS structure or command to use for this type of operation?