Package HAL.Gui

Class TickTimer


  • public class TickTimer
    extends java.lang.Object
    class used to impose a frame rate on the running of a model call TickPause every timestep to impose a framerate usually used within a window of some kind, but can also be used by itself Created by rafael on 2/16/17.
    • Constructor Summary

      Constructors 
      Constructor Description
      TickTimer()  
    • Method Summary

      Modifier and Type Method Description
      void TickPause​(int millis)
      pauses execution so that the amount of time between calls to TickPause is equal to millis
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TickTimer

        public TickTimer()
    • Method Detail

      • TickPause

        public void TickPause​(int millis)
        pauses execution so that the amount of time between calls to TickPause is equal to millis
        Parameters:
        millis - wait duration