Class Timer

    • Method Detail

      • render

        public boolean render()
        Overrides:
        render in class InfoBox
      • cull

        public boolean cull()
        Overrides:
        cull in class InfoBox
      • setDuration

        public void setDuration​(Duration duration)
        Update the timer duration *relative to the start time*
        Parameters:
        duration -
      • updateDuration

        public void updateDuration​(Duration duration)
        Update the timer duration relative to now
        Parameters:
        duration -
      • getStartTime

        public Instant getStartTime()
      • getEndTime

        public Instant getEndTime()
      • getDuration

        public Duration getDuration()