apes
Class SettingsLevel

java.lang.Object
  extended by apes.SettingsLevel

public class SettingsLevel
extends java.lang.Object


Constructor Summary
SettingsLevel()
           
 
Method Summary
 int getNumberOfLevels()
           
 boolean isLevelOpen(int i)
           
 void openLevel(int i)
          opens the given level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsLevel

public SettingsLevel()
Method Detail

isLevelOpen

public boolean isLevelOpen(int i)

openLevel

public void openLevel(int i)
opens the given level. If i is bigger than one nothing happens (you cannot open a negativ level and level one is always open). If it is bigger that the number of levels it will do nothing as well.

Parameters:
i -

getNumberOfLevels

public int getNumberOfLevels()