// Update is called once per frame
 void Update()
 {
     if (state == "game")
     {
         if (rm.IsOver())
         {
             ProcessInput("stats_menu");
         }
         if (player.isDead())
         {
             hm.Clear();
             ProcessInput("death_menu");
         }
     }
     else
     {
         if (GameCamera.IsActive())
         {
             GameCamera.Toggle();
         }
     }
 }