|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CustomLevelOrder
CustomLevelOrder is a user defined order of the custom created levels.
Constructor Summary | |
CustomLevelOrder()
Constructor - initializes the CustomLevelOrder attributes |
Method Summary | |
void |
addLevel(java.lang.String level)
This function allows the user to add custom level(s) to level list. |
java.lang.String |
getCurrentLevel()
Returns the name of the current level in the list |
java.lang.String[] |
getLevelList()
Returns a String array of the level names in the current customLevelOrder list |
java.lang.String |
getNextLevel()
Returns the name of the next level in the list |
java.lang.String |
getPrevLevel()
Returns the name of the previous level in the list |
void |
insertLevel(int location,
java.lang.String level)
This function allows the user to add custom level(s) to level list. |
boolean |
isEmpty()
Returns true if the customLevelOrder Vector is empty and false if not |
void |
removeLevel(int location)
This function allows the user to remove custom level(s) from level list. |
void |
setCurrentLevel(java.lang.String levelName)
sets the currentLevel to the index of the passed String |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CustomLevelOrder()
Method Detail |
public void insertLevel(int location, java.lang.String level)
location
- The slot number where the added level will be savedlevel
- The name of the level being added
public void addLevel(java.lang.String level)
level
- The name of the level being added
public void removeLevel(int location)
location
- the location of the level to be removed from the list
public void setCurrentLevel(java.lang.String levelName)
levelName
- the level name of the new current level
public java.lang.String getCurrentLevel()
public java.lang.String[] getLevelList()
public java.lang.String getNextLevel()
public java.lang.String getPrevLevel()
public boolean isEmpty()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |