Minor changes.
- Replaced duplicate GameImage.process_sub() calls from related images with calling a single method, for easier editing. - Suppress warnings from overwritten Slick2D classes. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -52,6 +52,7 @@ import org.newdawn.slick.util.ResourceLoader;
|
||||
* @author Kevin Glass
|
||||
* @author Rockstar setVolume cleanup
|
||||
*/
|
||||
@SuppressWarnings({"rawtypes", "unchecked", "unused"})
|
||||
public class SoundStore {
|
||||
|
||||
/** The single instance of this class */
|
||||
@@ -318,7 +319,8 @@ public class SoundStore {
|
||||
inited = true;
|
||||
|
||||
AccessController.doPrivileged(new PrivilegedAction() {
|
||||
public Object run() {
|
||||
@Override
|
||||
public Object run() {
|
||||
try {
|
||||
AL.create();
|
||||
soundWorks = true;
|
||||
|
||||
Reference in New Issue
Block a user