diff --git a/AirplaneWithRadar/AirplaneWithRadar/BlockMap.cs b/AirplaneWithRadar/AirplaneWithRadar/BlockMap.cs index a845946..b601672 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/BlockMap.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/BlockMap.cs @@ -27,7 +27,6 @@ namespace AirplaneWithRadar { g.FillRectangle(roadColor, i * _size_x, j * _size_y, (i + 1) * (_size_x + 1), (j + 1) * (_size_y + 1)); } - protected override void GenerateMap() { _map = new int[100, 100]; diff --git a/AirplaneWithRadar/AirplaneWithRadar/DrawingAirplane.cs b/AirplaneWithRadar/AirplaneWithRadar/DrawingAirplane.cs index c82432b..3f30e8c 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/DrawingAirplane.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/DrawingAirplane.cs @@ -57,8 +57,7 @@ namespace AirplaneWithRadar /// Цвет кузова /// Ширина отрисовки самолета /// Высота отрисовки самолета - protected DrawingAirplane(int speed, float weight, Color bodyColor, int airplaneWidth, int airplaneHeight) : - this(speed, weight, bodyColor) + protected DrawingAirplane(int speed, float weight, Color bodyColor, int airplaneWidth, int airplaneHeight) : this(speed, weight, bodyColor) { _airplaneWidth = airplaneWidth; _airplaneHeight = airplaneHeight; diff --git a/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneWithRadar.cs b/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneWithRadar.cs index 21d57ce..7a8ffa8 100644 --- a/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneWithRadar.cs +++ b/AirplaneWithRadar/AirplaneWithRadar/FormAirplaneWithRadar.cs @@ -48,7 +48,11 @@ namespace AirplaneWithRadar SetData(); Draw(); } - + /// + /// + /// + /// + /// private void ButtonMove_Click(object sender, EventArgs e) { string name = ((Button)sender)?.Name ?? string.Empty;