MCPcopy Create free account
hub / github.com/Card-Forge/forge / NoSoundClip

Class NoSoundClip

forge-gui/src/main/java/forge/sound/NoSoundClip.java:4–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3// This class is used as a stub for case when sound is off or a needed sound file is missing
4public class NoSoundClip implements IAudioClip {
5
6 @Override
7 public void play(float value) { }
8 @Override
9 public boolean isDone() { return false; }
10
11
12 @Override
13 public void stop() { }
14
15 @Override
16 public void loop() { }
17
18 @Override
19 public void dispose() { }
20
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected