fixed settings
This commit is contained in:
parent
7cd49be1bb
commit
3d54919d10
@ -2,8 +2,10 @@ annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
application.title=MyGame
|
||||
application.vendor=MyCompany
|
||||
application.desc=
|
||||
application.homepage=http://wyrez.org
|
||||
application.title=Shooting Stars
|
||||
application.vendor=Wyrez
|
||||
assets.jar.name=assets.jar
|
||||
assets.excludes=**/*.j3odata,**/*.mesh.xml,**/*.skeleton.xml,**/*.scene,**/*.material,**/*.obj,**/*.mtl,**/*.blend
|
||||
assets.folder.name=assets
|
||||
|
||||
@ -60,7 +60,7 @@ public class OptionSettings {
|
||||
settings.setSettingsDialogImage("");
|
||||
setMasterVolume(100);
|
||||
setMenuVolume(50);
|
||||
setSoundVolume(100);
|
||||
setMusicVolume(100);
|
||||
setUsername("Nagareboshi");
|
||||
setParticleDensity(3);
|
||||
setDepthBits(24);
|
||||
@ -84,14 +84,10 @@ public class OptionSettings {
|
||||
settings.putInteger("MenuVolume", volume);
|
||||
}
|
||||
|
||||
public void setSoundVolume(int volume) {
|
||||
settings.putInteger("SoundVolume", volume);
|
||||
}
|
||||
|
||||
public void setShowWeapon(boolean enabled) {
|
||||
settings.putBoolean("ShowWeapon", enabled);
|
||||
}
|
||||
|
||||
|
||||
public void setEnableAudioVisualization(boolean enabled) {
|
||||
settings.putBoolean("EnableAudioVisualization", enabled);
|
||||
}
|
||||
@ -140,14 +136,10 @@ public class OptionSettings {
|
||||
return settings.getInteger("MenuVolume");
|
||||
}
|
||||
|
||||
public int getSoundVolume() {
|
||||
return settings.getInteger("SoundVolume");
|
||||
}
|
||||
|
||||
public boolean isShowWeaponEnabled() {
|
||||
return settings.getBoolean("ShowWeapon");
|
||||
}
|
||||
|
||||
|
||||
public boolean isAudioVisualizationEnabled() {
|
||||
return settings.getBoolean("EnableAudioVisualization");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user