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:
@@ -94,6 +94,13 @@ public class AppStateManager {
|
|||||||
this.app = app;
|
this.app = app;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Application to which this AppStateManager belongs.
|
||||||
|
*/
|
||||||
|
public Application getApplication() {
|
||||||
|
return app;
|
||||||
|
}
|
||||||
|
|
||||||
protected AppState[] getInitializing() {
|
protected AppState[] getInitializing() {
|
||||||
synchronized (states){
|
synchronized (states){
|
||||||
return initializing.getArray();
|
return initializing.getArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user