Agliullov D. A. Lab Work 3 Advanced #4

Merged
eegov merged 13 commits from Lab3 into Lab2 2022-10-14 10:14:31 +04:00
Showing only changes of commit 5aa2c32f02 - Show all commits

View File

@ -9,7 +9,6 @@ namespace AirBomber
/// </summary>
private MapWithSetAirplanesGeneric<DrawningObject, AbstractMap> _mapAirplanesCollectionGeneric;
private GeneratorAirplane<EntityAirplane, IAirplaneEngines> _generatorAirplane;
private AbstractMap? _map;
/// <summary>
/// Конструктор
/// </summary>
@ -86,7 +85,7 @@ namespace AirBomber
dir = Direction.Right;
break;
}
pictureBox.Image = _map?.MoveObject(dir) ?? pictureBox.Image;
pictureBox.Image = _mapAirplanesCollectionGeneric?.MoveObject(dir) ?? pictureBox.Image;
}
/// <summary>
/// Добавления типа двигателя и его количество в генератор