Фикс загрузки. Нужно реализовать сохранение допкласса
This commit is contained in:
parent
e8ba3c4d51
commit
5ea79c63eb
ProjectStormtrooper
@ -9,7 +9,7 @@ public class ExtensionDrawingPlane {
|
|||||||
if (strs.length == 5) {
|
if (strs.length == 5) {
|
||||||
return new DrawingPlane(
|
return new DrawingPlane(
|
||||||
Integer.parseInt(strs[0]),
|
Integer.parseInt(strs[0]),
|
||||||
Integer.parseInt(strs[1]),
|
Double.parseDouble(strs[1]),
|
||||||
new Color(
|
new Color(
|
||||||
Integer.parseInt(strs[2]),
|
Integer.parseInt(strs[2]),
|
||||||
Integer.parseInt(strs[3]),
|
Integer.parseInt(strs[3]),
|
||||||
@ -21,7 +21,7 @@ public class ExtensionDrawingPlane {
|
|||||||
if (strs.length == 10) {
|
if (strs.length == 10) {
|
||||||
return new DrawingStormtrooper(
|
return new DrawingStormtrooper(
|
||||||
Integer.parseInt(strs[0]),
|
Integer.parseInt(strs[0]),
|
||||||
Integer.parseInt(strs[1]),
|
Double.parseDouble(strs[1]),
|
||||||
new Color(
|
new Color(
|
||||||
Integer.parseInt(strs[2]),
|
Integer.parseInt(strs[2]),
|
||||||
Integer.parseInt(strs[3]),
|
Integer.parseInt(strs[3]),
|
||||||
|
@ -10,7 +10,7 @@ import java.io.IOException;
|
|||||||
|
|
||||||
public class PlanesGenericStorage {
|
public class PlanesGenericStorage {
|
||||||
final HashMap<String, PlanesGenericCollection<DrawingPlane, DrawingObjectPlane>> _planeStorages;
|
final HashMap<String, PlanesGenericCollection<DrawingPlane, DrawingObjectPlane>> _planeStorages;
|
||||||
private static final String _separatorForKeyValue = "|";
|
private static final String _separatorForKeyValue = "@";
|
||||||
private static final String _separatorRecords = ";";
|
private static final String _separatorRecords = ";";
|
||||||
private static final String _separatorForObject = ":";
|
private static final String _separatorForObject = ":";
|
||||||
private static final String _keyword = "PlanesStorage";
|
private static final String _keyword = "PlanesStorage";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user