From 40fb3d4a260ddd54342221dfe16b9572c84de626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= Date: Wed, 12 Oct 2022 11:42:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=B4?= =?UTF-8?q?=D0=B0=20=D0=BA=D0=B0=D1=80=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Locomotives/Locomotives/CrossMap.cs | 4 ++-- Locomotives/Locomotives/RoadsMap.cs | 4 ++-- Locomotives/Locomotives/SimpleMap.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Locomotives/Locomotives/CrossMap.cs b/Locomotives/Locomotives/CrossMap.cs index fc41c06..ffb23b0 100644 --- a/Locomotives/Locomotives/CrossMap.cs +++ b/Locomotives/Locomotives/CrossMap.cs @@ -26,9 +26,9 @@ _map = new int[100, 100]; _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; } diff --git a/Locomotives/Locomotives/RoadsMap.cs b/Locomotives/Locomotives/RoadsMap.cs index 84aeb69..28d1973 100644 --- a/Locomotives/Locomotives/RoadsMap.cs +++ b/Locomotives/Locomotives/RoadsMap.cs @@ -26,9 +26,9 @@ _map = new int[100, 100]; _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; } diff --git a/Locomotives/Locomotives/SimpleMap.cs b/Locomotives/Locomotives/SimpleMap.cs index 0a3969b..9c3f5b6 100644 --- a/Locomotives/Locomotives/SimpleMap.cs +++ b/Locomotives/Locomotives/SimpleMap.cs @@ -27,9 +27,9 @@ _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); int counter = 0; - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; }