public void DescreaseTankHealth(int monster_damage) { tankParameters.health = MonsterController.CalculateDamage(tankParameters.health, monster_damage, tankParameters.defense); //Debug.Log("Tank Damaged: " + tankParameters.health + " health remains"); if (tankParameters.health > 0) { GUIView._instance.UpdateTankHealth(tankParameters.health); } else { MonsterController.OnMonsterTouchTankAction -= DescreaseTankHealth; GUIView._instance.UpdateTankHealth(0); tankManager.ProcessGameOver(); } }