Wasnt too sure on the title for the but I have a file that is used to retrieve certain texture coordinates. The file is called Assets and just contains a bunch of items like what is below...
public static TextureRegion level1;
To get access to this I just use Assets.level1 for another part of the program and thats that.
What I'm wondering is if there is a way to do this through a string, for example instead of Assets.level2 i could do something like Assets.(string) where string = "level2"
Any help will be great