Examples of worldPausing()


Examples of edu.cmu.cs.stage3.alice.authoringtool.event.AuthoringToolStateListener.worldPausing()

  protected void fireWorldPausing(int previousState, int currentState, edu.cmu.cs.stage3.alice.core.World world) {
    AuthoringToolStateChangedEvent ev = new AuthoringToolStateChangedEvent(previousState, currentState, world);
    for (java.util.Iterator iter = stateListeners.iterator(); iter.hasNext();) {
      AuthoringToolStateListener listener = (AuthoringToolStateListener) iter.next();
      try {
        listener.worldPausing(ev);
      } catch (Throwable t) {
        AuthoringTool.showErrorDialog("Error in listener responding to world pausing.", t);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.