EnemyGenerator gets maxEnemies in constructor