Function initBgIdx
initBgIdx(idx, filename)
Load a background from file.
This function initializes an index in the backgrounds array and loads an image from a filename.
Parameters
- idx Background index to initialize
- filename Name of the image file
Returns
nothing