сделаны размеры самолета как в базовой части
This commit is contained in:
parent
d1ee0249c1
commit
85c57c4fbf
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user