Package net.lenkaspace.creeper.view

Examples of net.lenkaspace.creeper.view.CROutputPopup


          if (CRSettings.getSingleton().isTimeRunning()) {
           
            //-- clear output panel so that new output can be shown
           
            if (!CRSettings.getSingleton().getIsConsoleOnlyBuild()) {
              CROutputPopup outputPanel = CROutputPopup.getSingleton();
              outputPanel.clearOutput();
            }
           
            //-- update all world objects
            reportController.onUpdateLoopStart(timeCounter, timeUnits);
            world.update();
            reportController.onUpdateLoopEnd(timeCounter, timeUnits);
           
            //-- update time counter
            timeCounter++;
            if (timeCounter == CRSettings.getSingleton().getTimeUnitInterval()) {
              timeUnits++;
              timeCounter = 0
            }
           
            //-- show current time
            CRParameters parameters = CRParameters.getSingleton();
            if (!CRSettings.getSingleton().getIsConsoleOnlyBuild()) {
              CROutputPopup outputPanel = CROutputPopup.getSingleton();
              outputPanel.displayTimeOutput(" TIME ELAPSED: "+timeUnits + "  "+timeCounter + "    TRIAL:"+trialNumber+"/"+parameters.numOfTrials + "     RUN:"+runNumber+"/"+parameters.numOfRuns);
            }
           
            //---- end trial?
            if (timeUnits - parameters.trialDuration == 0 && timeUnits > 0 ) {
              //-- tell the objects a trial ended
View Full Code Here

TOP

Related Classes of net.lenkaspace.creeper.view.CROutputPopup

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.