Add a method which retrieves color resources.

Depending on a given "type" String, we want to return the
corresponding integer color value corresponding to that type,
such as the color for the fire or dark type. Switch statements
are not supported for Strings in Android projects using Java
1.6, and thus if statements are used.