Added a getter for the state manager's Application.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 12 years ago
parent 044d81f7e8
commit 4c2579d0bf
  1. 7
      engine/src/core/com/jme3/app/state/AppStateManager.java

@ -94,6 +94,13 @@ public class AppStateManager {
this.app = app;
}
/**
* Returns the Application to which this AppStateManager belongs.
*/
public Application getApplication() {
return app;
}
protected AppState[] getInitializing() {
synchronized (states){
return initializing.getArray();

Loading…
Cancel
Save