Hello! I'm trying to change the image that a sprite from an array is displaying. Here is the code I'm using:
((Sprite *)[enemiesArray objectAtIndex:index]).image = baseImage;
I get the error message:
error: request for member 'image' in something not a structure or union
What am I doing wrong?
Thanks for reading.