Added Tester class
This commit is contained in:
12
cicaprojekt/Tester.java
Normal file
12
cicaprojekt/Tester.java
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package cicaprojekt;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class Tester {
|
||||||
|
Dungeon loadMap(String param) throws IOException{
|
||||||
|
Dungeon dungeon = new Dungeon();
|
||||||
|
dungeon.buildDungeon(new File(param));
|
||||||
|
return dungeon;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user