Added a getter for the state manager's Application.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
PSp..om
2012-12-29 18:18:40 +00:00
parent 044d81f7e8
commit 4c2579d0bf
@@ -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();