|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.cscott.sdr.Settings
public abstract class Settings
The Settings
class manages the menu system for adjusting the
various game settings, and tracks the current mode of play.
Nested Class Summary | |
---|---|
static class |
Settings.DanceLevelSetting
What calls should be accepted for the dancers, and what their starting formation should be. |
static class |
Settings.DancerStyleSetting
Style with which to draw dancers. |
static class |
Settings.DifficultySetting
How stringent should scoring be? |
static class |
Settings.MusicSetting
What type of music (if any) to play. |
static class |
Settings.VenueSetting
Background environment for dancers. |
Constructor Summary | |
---|---|
protected |
Settings(String prefName)
Create a new Settings, with default values taken from the user preferences. |
Method Summary | |
---|---|
Settings.DanceLevelSetting |
getDanceLevel()
|
Settings.DancerStyleSetting |
getDancerStyle()
|
Settings.DifficultySetting |
getDifficulty()
|
int |
getMicrophone()
|
Settings.MusicSetting |
getMusic()
|
Settings.VenueSetting |
getVenue()
|
protected Object |
lock()
|
void |
setDanceLevel(Settings.DanceLevelSetting dl)
|
void |
setDancerStyle(Settings.DancerStyleSetting d)
|
void |
setDifficulty(Settings.DifficultySetting d)
|
void |
setMicrophone(int which)
Which microphone to use. |
void |
setMusic(Settings.MusicSetting m)
|
void |
setVenue(Settings.VenueSetting v)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Settings(String prefName)
Method Detail |
---|
protected Object lock()
public void setMicrophone(int which)
public int getMicrophone()
public void setMusic(Settings.MusicSetting m)
public Settings.MusicSetting getMusic()
public void setDifficulty(Settings.DifficultySetting d)
public Settings.DifficultySetting getDifficulty()
public void setVenue(Settings.VenueSetting v)
public Settings.VenueSetting getVenue()
public void setDancerStyle(Settings.DancerStyleSetting d)
public Settings.DancerStyleSetting getDancerStyle()
public void setDanceLevel(Settings.DanceLevelSetting dl)
public Settings.DanceLevelSetting getDanceLevel()
|
sdr 0.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |