Skip to content

Commit b3aeb7b

Browse files
author
Steeve Droz
committed
Version 1.0
1 parent 4a2ab64 commit b3aeb7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/com/github/steevedroz/miniciv/loader/Loader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ protected Loader(Version version) {
1414
}
1515

1616
public static Loader getLoader(Version version) {
17-
if (version.isAtLeast("v0.1-alpha")) {
18-
return new Loader0_1_alpha(version);
17+
if (version.isAtLeast("v1.0")) {
18+
return new Loader1_0(version);
1919
}
2020
return null;
2121
}

src/com/github/steevedroz/miniciv/loader/Loader0_1_alpha.java renamed to src/com/github/steevedroz/miniciv/loader/Loader1_0.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import com.github.steevedroz.miniciv.component.Research;
1212
import com.github.steevedroz.miniciv.component.Research.State;
1313

14-
public class Loader0_1_alpha extends Loader {
15-
protected Loader0_1_alpha(Version version) {
14+
public class Loader1_0 extends Loader {
15+
protected Loader1_0(Version version) {
1616
super(version);
1717
}
1818

@@ -66,7 +66,7 @@ public void load(MiniCiv miniCiv, List<String> data) throws FileFormatException
6666
@Override
6767
public List<String> save(MiniCiv miniCiv) {
6868
List<String> data = new ArrayList<String>();
69-
data.add("v0.1-alpha");
69+
data.add("v1.0");
7070
data.add("inhabitants: " + miniCiv.getPopulation().getInhabitants());
7171
data.add("houses: " + miniCiv.getBuilding().getHouses());
7272
data.add("towers: " + miniCiv.getBuilding().getTowers());

0 commit comments

Comments
 (0)