v5stable
ondra 11 years ago
parent 20bb7e56df
commit c7dfe5b39b
  1. 8
      src/mightypork/gamecore/WorkDir.java

@ -45,6 +45,11 @@ public class WorkDir {
} }
/**
* Add a path alias (dir or file)
* @param alias path alias
* @param path path relative to workdir
*/
public static void addPath(String alias, String path) public static void addPath(String alias, String path)
{ {
namedPaths.put(alias, path); namedPaths.put(alias, path);
@ -100,6 +105,9 @@ public class WorkDir {
} }
/**
* @return the workdir File
*/
public static File getWorkDir() public static File getWorkDir()
{ {
return workdir; return workdir;

Loading…
Cancel
Save