Added Tester class
This commit is contained in:
parent
82394cdca4
commit
1a23abbe47
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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user