Original Post
I am managing sprites as bundles of images as sprite sheets all in a directory. Each of these directories are an instance of a "management". My only problem is that I can not figure out how to pass all the filenames as a bundle without either having the user change the implementation of the classes constructor parameters to how many files their are or having a vector or array of std::string type objects of all the filenames, which would have to be specified somewhere elsewhere than the constructor definiion like in a header file or somewhere in the main loop which will make a mess. Does any one have an idea how can I have the user specify the filenames without every image being it being implemented somewhere out of the class's function like a main loop or header? My ideas for each file directory bundle:
//First Idea
const int numberFiles = 3;
const std::string Files[3] = { "All.png", "Your.png", "Base.png" };
// main loop
SpriteManage.SetFileNum(numberFiles);
SpriteManage.SetFileNames(&Files);
//Second Idea: Or do ^ in a header file