what
parent
1150d8a90a
commit
173104238a
|
|
@ -61,3 +61,9 @@ $RECYCLE.BIN/
|
|||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
.classpath
|
||||
|
||||
.classpath
|
||||
|
||||
.settings/org.eclipse.jdt.core.prefs
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public class SpaceWars {
|
|||
|
||||
private static void test(String game) {
|
||||
final String gamePath = "" + new File(SpaceWars.class.getProtectionDomain().getCodeSource()
|
||||
.getLocation().getPath().replace("%20", " ") + game + "\\").getPath();
|
||||
.getLocation().getPath().replace("%20", " ") + game).getPath();
|
||||
|
||||
Engine engine = new Engine(gamePath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue