Original Post
Okay i´m trying to make a simple tile game.
Should i have a struct that holds the position of the tile och width and walkability and things like that, the struct also points to a surface witch holds the image of the tile (only that tiles image and nothing else)??? Then i create about 400 of these objects to fill the screen... sounds like a memory waste!!
But if i only have mabye 3-4 of these structures and use them many times when i fill the screen, the walkable int can´t be used.
Help me, how should i design the code?