private void riskMap_CountryClick(object sender, CountryContactEventArgs e) { switch (stateManager.State) { case GameState.ChooseCountry: chooseCountry(e.CountryId); break; case GameState.AddArmy: addArmy(e.CountryId); break; case GameState.AttackChooseSource: attackChooseSource(e.CountryId); break; case GameState.AttackChooseDest: attackChooseDest(e.CountryId); break; default: break; } }