/// <summary> /// Gets called when a enemy dies. /// </summary> private void OnEnemyDeath() { if (_roomLoader.AllEnemiesAreDead()) { _roomLoader.UnlockDoors(); } }