Added minimap.getRunEnergy

This function wasn't written and I needed it, so I wrote it.