Hi guys, I have a variable declared like this in a class:
Entity *array[BOARD_SIZE][BOARD_SIZE];
I need to set up either a @property that allows me to access (read) the array elements, or a function that returns a reference so I can access the array elements.
- ( ??? ) getEntityArray
{
return ???;
}
or
@property (????) Entity ??? ;
I really need to work with the array declared in this way.
Any advice?
Thanks!