// Method to dispatch to the action associated with the drum depending on the context public void CheckPartHit(Drumpart partHit) { switch (gc) { case GameContext.MainMenu: CheckPartHitMainMenu(partHit); break; case GameContext.Menu: CheckPartHitPauseMenu(partHit); break; default: sqManager.CheckPartHit(partHit); break; } ; }