public void DisplayEnemyInformation(int?enemyNumber = null) { if (!CurrentScene.Enemies.Any()) { displayController.DisplayText("There are no enemies here."); return; } if (enemyNumber is null) { displayController.DisplayEnemyList(CurrentScene.Enemies); return; } if (CurrentScene.Enemies.Count < enemyNumber) { displayController.DisplayText($"There is no ememy {enemyNumber}."); return; } var enemy = CurrentScene.Enemies[enemyNumber.Value - 1]; displayController.DisplayEnemyDescription(enemy); }