implemented HUD and HUDTextComponent