parent
e773a5307a
commit
067f8b172c
@ -1,24 +0,0 @@ |
||||
package mightypork.gamecore.audio; |
||||
|
||||
|
||||
import mightypork.gamecore.loading.NullResource; |
||||
import mightypork.util.logging.LogAlias; |
||||
|
||||
|
||||
/** |
||||
* Placeholder for cases where no matching audio is found and |
||||
* {@link NullPointerException} has to be avoided. |
||||
* |
||||
* @author MightyPork |
||||
*/ |
||||
@LogAlias(name = "NullAudio") |
||||
public class NullAudio extends DeferredAudio implements NullResource { |
||||
|
||||
/** |
||||
* new null audio |
||||
*/ |
||||
public NullAudio() |
||||
{ |
||||
super(null); |
||||
} |
||||
} |
@ -1,12 +0,0 @@ |
||||
package mightypork.gamecore.loading; |
||||
|
||||
|
||||
/** |
||||
* Resource that is used as a placeholder instead of an actual resource; this |
||||
* resource should not be attempted to be loaded. |
||||
* |
||||
* @author MightyPork |
||||
*/ |
||||
public interface NullResource { |
||||
|
||||
} |
Loading…
Reference in new issue