|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_LevelLoader_interface
interface for the levelLoader.. maybe we reallie it in different ways
Method Summary | |
---|---|
D_Level |
loadLevel(java.lang.String levName)
its almost the same funktion, with the root directory of "levels". |
D_Level |
loadLevel(java.lang.String root,
java.lang.String levName)
Loads a level file into a D_Level object |
D_Level |
loadLevelHeader(java.lang.String levName)
Loads only the header of the File into a D_Level objecrt. |
D_Level |
loadLevelHeader(java.lang.String root,
java.lang.String levName)
Loads only the header of the File into a D_Level objecrt. |
Method Detail |
---|
D_Level loadLevel(java.lang.String root, java.lang.String levName) throws E_LevelFileException, java.io.FileNotFoundException
root
- the root-path of the levelFolder. Its only possible to point to folders which are subfolders
of the gake-folderlevName
- the name of the level that should be loaded. Its the name of the file, the level
may have an different name.
E_LevelFileException
- if the file was found, but in a wrong format
java.io.FileNotFoundException
- if the file was not foundD_Level loadLevel(java.lang.String levName) throws E_LevelFileException, java.io.FileNotFoundException
levName
- levName the name of the level that should be loaded. Its the name of the file, the level
may have an different name.
E_LevelFileException
- if the file was found, but in a wrong format
java.io.FileNotFoundException
- if the file was not foundloadLevel(String, String)
D_Level loadLevelHeader(java.lang.String root, java.lang.String levName) throws E_LevelFileException, java.io.FileNotFoundException
root
- levName
-
E_LevelFileException
java.io.FileNotFoundException
D_Level loadLevelHeader(java.lang.String levName) throws E_LevelFileException, java.io.FileNotFoundException
levName
- levName the name of the level that should be loaded. Its the name of the file, the level
may have an different name.
E_LevelFileException
- if the file was found, but in a wrong format
java.io.FileNotFoundException
- if the file was not foundloadLevelHeader(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |