Package org.mt4j.sceneManagement

Examples of org.mt4j.sceneManagement.SceneChangeEvent


          pendingTransition.lastScene.destroy();
        }
      }

      if (!this.sceneChangedListeners.isEmpty()){
        this.fireSceneChangeEvent(new SceneChangeEvent(this, oldScene, newScene));
      }
      logger.debug("Scene changed from: '" + oldScene + "' to: '" + newScene + "'");
      sceneChangeLocked = false;
     
      inDoSceneChange = false;
View Full Code Here


  public void addScene(Iscene scene){
    if (this.getSceneCount() == 0){
      scene.init();
      this.currentScene = scene;
      this.getInputManager().enableGlobalInputProcessors(scene);
      this.fireSceneChangeEvent(new SceneChangeEvent(this, this.currentScene, this.currentScene));
    }
    if (!sceneList.contains(scene))
      sceneList.add(scene);
  }
View Full Code Here

TOP

Related Classes of org.mt4j.sceneManagement.SceneChangeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.