сделаны размеры самолета как в базовой части

This commit is contained in:
Данияр Аглиуллов 2022-10-18 03:07:47 +04:00
parent d1ee0249c1
commit 85c57c4fbf
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ namespace AirBomber
/// <param name="hasFuelTanks">Признак наличия топливных баков</param>
/// <param name="typeAirplaneEngines">Какой будет двигатель самолета. null - двигатели отсутствуют</param>
public DrawningAirBomber(int speed, float weight, Color bodyColor, Color dopColor, bool hasBombs, bool hasFuelTanks, IAirplaneEngines? typeAirplaneEngines = null)
: base(speed, weight, bodyColor, 115, 155, typeAirplaneEngines)
: base(speed, weight, bodyColor, 95, 110, typeAirplaneEngines)
{
Airplane = new EntityAirBomber(speed, weight, bodyColor, dopColor, hasBombs, hasFuelTanks);
}

View File

@ -30,11 +30,11 @@
/// <summary>
/// Ширина отрисовки самолета
/// </summary>
protected readonly int _airplaneWidth = 90;
protected readonly int _airplaneWidth = 80;
/// <summary>
/// Высота отрисовки самолета
/// </summary>
protected readonly int _airplaneHeight = 105;
protected readonly int _airplaneHeight = 90;
/// <summary>
/// Инициализация свойств
/// </summary>