> MapTile[] map; // It's a struct > > ref MapTile tile=map[y*w+x]; > tile.id=something; > tile.isWall=true; MapTile* tile = &map[y*w+x];