ПИбд-23 Волков Никита Андреевич Лабораторная работа №1 #1

Closed
bocchanskyy wants to merge 5 commits from Lab1 into main
2 changed files with 0 additions and 7 deletions
Showing only changes of commit 212151318a - Show all commits

View File

@ -41,7 +41,6 @@ namespace Bulldozer
/// </summary> /// </summary>
private readonly int _bulldozerHeight = 60; private readonly int _bulldozerHeight = 60;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -70,8 +69,6 @@ namespace Bulldozer
} }
} }
public void SetPosition(int x, int y) public void SetPosition(int x, int y)
{ {
if (x < 0) if (x < 0)

View File

@ -2,7 +2,6 @@ namespace Bulldozer
{ {
public partial class FormBulldozer : Form public partial class FormBulldozer : Form
{ {
private DrawingBulldozer? _drawingBulldozer; private DrawingBulldozer? _drawingBulldozer;
public FormBulldozer() public FormBulldozer()
@ -10,8 +9,6 @@ namespace Bulldozer
InitializeComponent(); InitializeComponent();
} }
private void Draw() private void Draw()
{ {
if (_drawingBulldozer == null) if (_drawingBulldozer == null)
@ -49,7 +46,6 @@ namespace Bulldozer
Draw(); Draw();
} }
private void ButtonCreate_Click(object sender, EventArgs e) private void ButtonCreate_Click(object sender, EventArgs e)
{ {
Random random = new(); Random random = new();