A game highly inspired by Rabi-Ribi being developed using a custom-developed Sig game engine from the ground up with a proper game studio!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RabiClone/src/sig/map/Maps.java

22 lines
356 B

package sig.map;
import java.io.File;
public enum Maps {
WORLD1("world1.map"),
;
final public static String MAPS_DIR = "maps";
Map map;
Maps(String filename) {
File map_loc = new File(new File("..",MAPS_DIR),filename);
this.map=Map.LoadMap(map_loc);
}
public Map getMap() {
return map;
}
}