accessing structs from another function in a class?

i am currently making a 2d tile engine, and for my map i use an array of a custom made tile structure. this creates a small problem for me, since i cant seem to acces it from other functions within the class. the reason i have to be able to gain acces to it is because i have to be able to check wether or not a tile is solid, for the player function.

hope that makes sense
Not quite sure what you mean. Can you provide some code?
the code is too long. i have one array of a custom structure called "tile" ,wich contains all the info on the tile, in every "layer function" i have a custom layer for my player so that the player is in a 32X32 grid (the tilesize) i need to be able to retrieve the tile info from every layer to my player layer, to check if any of the tiles are solid.

makes more sense? if not i suck at explaining
found a way to do it, thanks anyways :)
Topic archived. No new replies allowed.