Package arc.mock
Class MockAudio
java.lang.Object
arc.audio.Audio
arc.mock.MockAudio
- All Implemented Interfaces:
Disposable
The headless backend does its best to mock elements. This is intended to make code-sharing between
server and client as simple as possible.
-
Field Summary
Fields inherited from class arc.audio.Audio
falloff, globalPitch, musicBus, soundBus
-
Constructor Summary
-
Method Summary
Methods inherited from class arc.audio.Audio
countPlaying, dispose, fadeFilterParam, initialized, isPlaying, newMusic, newSound, play, protect, set, setFilter, setFilterParam, setLooping, setPaused, setPitch, setVolume, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
MockAudio
public MockAudio()
-
-
Method Details
-
initialize
protected void initialize()Description copied from class:Audio
Intializes Soloud audio. If this fails, prints an error and disables audio.- Overrides:
initialize
in classAudio
-