-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#20 It is now possible to import gameplay features. Added new functio…
…n importGeneral with which it is possible to easily import things that only require the .txt file. This function is currently used by import gameplay and engine feature.
- Loading branch information
Showing
7 changed files
with
173 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/java/com/github/lmh01/mgt2mt/util/interfaces/FreeId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.github.lmh01.mgt2mt.util.interfaces; | ||
|
||
@FunctionalInterface | ||
public interface FreeId { | ||
int getFreeId(); | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/com/github/lmh01/mgt2mt/util/interfaces/Importer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.github.lmh01.mgt2mt.util.interfaces; | ||
|
||
import java.io.IOException; | ||
import java.util.Map; | ||
|
||
@FunctionalInterface | ||
public interface Importer { | ||
void importer(Map<String, String> map) throws IOException; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/github/lmh01/mgt2mt/util/interfaces/Summary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.github.lmh01.mgt2mt.util.interfaces; | ||
|
||
import java.util.Map; | ||
|
||
public interface Summary { | ||
boolean showSummary(Map<String, String> map); | ||
} |