code cleanup: using resource manager in game hud