public final class Module
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getActiveChapterName()
Returns active chapter name
|
static java.lang.String |
getAreaPath()
Returns path to area directory in current module directory
|
static Chapter |
getChapter(java.lang.String chapterId,
org.newdawn.slick.GameContainer gc)
Sets chapter with specified ID as active chapter
|
static java.lang.String |
getChapterObjectsPath()
Returns path to objects directory in current chapter directory
|
static java.lang.String |
getDBasePath()
Returns path to dialogues base file in current module directory
|
static java.lang.String |
getGlobalLangPath()
Returns path to global lang dir in current module directory
|
static java.lang.String |
getGuildPath()
Returns path to guilds base file in current module directory
|
static java.lang.String |
getItemsPath()
Returns path to items directory in current module directory
|
static java.lang.String |
getLangPath()
Returns path to lang directory for current language in current chapter directory of active module
e.g.
|
static java.lang.String |
getModuleObjectsPath()
Returns path to objects directory in current module directory
|
static java.lang.String |
getName()
Returns current module name
|
static java.lang.String |
getNpcsPath()
Returns path to npc base file in current module directory
|
static java.lang.String |
getQuestsPath()
Returns path to quests base file in current module directory
|
static java.lang.String |
getScriptsPath()
Returns path to scripts directory in current module directory
|
static java.lang.String |
getSkillsPath()
Returns path to skills directory in current module directory
|
static void |
nextChapter() |
static boolean |
setDir(java.lang.String modName) |
static boolean |
setDir(java.lang.String modName,
java.lang.String chapterName) |
public static boolean setDir(java.lang.String modName, java.lang.String chapterName)
public static boolean setDir(java.lang.String modName)
public static Chapter getChapter(java.lang.String chapterId, org.newdawn.slick.GameContainer gc)
chapterId
- String with desired chapter IDpublic static void nextChapter()
public static java.lang.String getName()
public static java.lang.String getActiveChapterName()
public static java.lang.String getDBasePath()
public static java.lang.String getQuestsPath()
public static java.lang.String getNpcsPath()
public static java.lang.String getGuildPath()
public static java.lang.String getAreaPath()
public static java.lang.String getScriptsPath()
public static java.lang.String getItemsPath()
public static java.lang.String getSkillsPath()
public static java.lang.String getChapterObjectsPath()
public static java.lang.String getModuleObjectsPath()
public static java.lang.String getLangPath()
public static java.lang.String getGlobalLangPath()