There's nothing wrong with this code, but there's probably a way to programmatically grab all of the textures from our /res folder without having to explicitly define them. You've done it the hard way already, so there's no reason to fix it, but I'd be curious to know what the procedure would be for scraping the folder instead.