Package arc.mock

Class MockAudio

java.lang.Object
arc.audio.Audio
arc.mock.MockAudio
All Implemented Interfaces:
Disposable

public class MockAudio extends Audio
The headless backend does its best to mock elements. This is intended to make code-sharing between server and client as simple as possible.
  • 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 class Audio