diff --git a/src/DrawningObjects/ExtentionDrawningAirplane.java b/src/DrawningObjects/ExtentionDrawningAirplane.java index 151e713..56dce8e 100644 --- a/src/DrawningObjects/ExtentionDrawningAirplane.java +++ b/src/DrawningObjects/ExtentionDrawningAirplane.java @@ -59,13 +59,13 @@ public class ExtentionDrawningAirplane { Integer.parseInt(strs[0]), Integer.parseInt(strs[1]), getColor(strs[2]), - getColor(strs[3]), - Boolean.parseBoolean(strs[4]), + getColor(strs[7]), Boolean.parseBoolean(strs[5]), + Boolean.parseBoolean(strs[6]), width, height); - toRet.ChangeIlluminatorNumb(Integer.parseInt(strs[6])); - toRet.ChangeIDraw(Integer.parseInt(strs[7])); + toRet.ChangeIlluminatorNumb(Integer.parseInt(strs[3])); + toRet.ChangeIDraw(Integer.parseInt(strs[4])); return toRet; } return null;