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