Skip to content

Commit

Permalink
Make VolumeControl public again.
Browse files Browse the repository at this point in the history
This is actually a feature that I made pretty heavy use of. It needs to
remain public API.
  • Loading branch information
nick committed Nov 3, 2020
1 parent ec49e60 commit 3b88928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/de/gurkenlabs/litiengine/sound/SoundPlayback.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void setVolume(float volume) {
this.masterVolume.set(volume);
}

VolumeControl createVolumeControl() {
public VolumeControl createVolumeControl() {
VolumeControl control = new VolumeControl();
this.volumeControls.add(control);
return control;
Expand Down Expand Up @@ -255,7 +255,7 @@ protected void finalize() {
*
* @see SoundPlayback#createVolumeControl()
*/
class VolumeControl {
public class VolumeControl {
private volatile float value = 1f;

private VolumeControl() {
Expand Down

0 comments on commit 3b88928

Please sign in to comment.