SimApi Timer stepForward

From SIMboxWiki
Jump to navigation Jump to search

Icon attributes.pngstatic void SimApi::Timer::stepForward()


    Performs one timer's step forward. I.e. sets the current time to current time plus step size


The Timer class provides step forward and backward functionality. This functionality enables SIMBox extensions to advance the simulation time one step forward or backward based on some logic. Step size is set using setStepSizeInSeconds function and can be changed dynamically.

    See Also




    Related Links

     Recommended: Simulation Time Overview