This commit is contained in:
Данияр Аглиуллов 2022-11-02 23:11:53 +04:00
parent 00c78f3e32
commit fb360824dc

View File

@ -193,9 +193,9 @@ namespace AirBomber
public string GetData(char separatorType, char separatorData) public string GetData(char separatorType, char separatorData)
{ {
string data = $"{_map.GetType().Name}{separatorType}"; string data = $"{_map.GetType().Name}{separatorType}";
foreach (var car in SetAirplanes.GetAirplanes()) foreach (var airplane in SetAirplanes.GetAirplanes())
{ {
data += $"{car.GetInfo()}{separatorData}"; data += $"{airplane.GetInfo()}{separatorData}";
} }
return data; return data;
} }