diff --git a/DrawningLocomotive.java b/DrawningLocomotive.java index 4cbd4f3..08e46f6 100644 --- a/DrawningLocomotive.java +++ b/DrawningLocomotive.java @@ -198,7 +198,7 @@ public class DrawningLocomotive { new Color(Integer.parseInt(strs[2]), Integer.parseInt(strs[3]), Integer.parseInt(strs[4])), new Color(Integer.parseInt(strs[7]), Integer.parseInt(strs[8]), Integer.parseInt(strs[9])), Boolean.parseBoolean(strs[10]), - Boolean.getBoolean(strs[11]) + Boolean.parseBoolean(strs[11]) ); return new DrawningWarmlyLocomotive(Locomotive, drawningExtra); } diff --git a/MapsCollection.java b/MapsCollection.java index ccdcd81..e236bb8 100644 --- a/MapsCollection.java +++ b/MapsCollection.java @@ -15,7 +15,7 @@ public class MapsCollection { /// Высота окна отрисовки private final int _pictureHeight; // Сепараторы - private final String separatorDict = "\\|"; + private final String separatorDict = "~"; private final char separatorData = ';'; /// Конструктор public MapsCollection(int pictureWidth, int pictureHeight)