public EnemySpawner(int shipIndex, int emmisionRate, EnemyBehavior behavior) { this.shipIndex = shipIndex; this.emmisionInterval = emmisionRate; this.behavior = behavior; }
private void OnEnemyDestroy(EnemyBehavior enemy) { camShaker.Shake(cameraShakeSettings.ShakeParameters); }