private void OnEnemyDie(GameObject enemy) { TargetTransformHolderGetter.RemoveTarget(enemy.transform); IDieble dieble = enemy.GetComponent <IDieble>(); dieble.Die(); }
private void OnFortStateChanges(FortState state) { FortStateReceiver.SetFortState(state); if (state == FortState.Dead) { FortView.Die(); } }