removed unused appstates, disabled pause on lost focus
This commit is contained in:
parent
856eb882ba
commit
c9bfdb72b8
@ -17,9 +17,7 @@
|
||||
package org.wyrez.shootingstars;
|
||||
|
||||
import com.jme3.app.Application;
|
||||
import com.jme3.app.DebugKeysAppState;
|
||||
import com.jme3.app.SimpleApplication;
|
||||
import com.jme3.app.StatsAppState;
|
||||
import com.jme3.app.state.AppStateManager;
|
||||
import com.jme3.asset.AssetManager;
|
||||
import com.jme3.input.InputManager;
|
||||
@ -55,11 +53,11 @@ public class ShootingStars extends SimpleApplication {
|
||||
private PersiJContainer container;
|
||||
private StateManager sManager;
|
||||
private OptionSettings optionSettings;
|
||||
private Screen screen;
|
||||
|
||||
public ShootingStars(OptionSettings optionSettings) {
|
||||
super(new StatsAppState(), new DebugKeysAppState());
|
||||
super(null);
|
||||
this.optionSettings = optionSettings;
|
||||
this.setPauseOnLostFocus(false);
|
||||
Logger.getLogger("").setLevel(Level.SEVERE);
|
||||
System.setProperty("jna.library.path", "lib/vlc");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user