i would get a random sprite(object) from a CCArray.
and i have created a child to CCSprite with the name Gem
the array have seven objects.
Gem* gem = (Gem*)array->randomObject();
BUT it is always the same, every time i simulate/debug it!
And it is always the first object!
Can someone plz tell me WHY!
I appreciate ALL HELP!