Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private void InitializeEnemies(int maxCount) { for (int i = 0; i < maxCount; i++) { var enemy = _factory.CreateRandom(); enemy.Die += EnemyOnDie; _availableEnemies.Enqueue(enemy); } }