Class RobotClock

  • All Implemented Interfaces:
    Clock

    public class RobotClock
    extends java.lang.Object
    implements Clock
    • Constructor Summary

      Constructors 
      Constructor Description
      RobotClock()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getTime()
      Gets the current time in seconds.
      • Methods inherited from class java.lang.Object

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

      • RobotClock

        public RobotClock()
    • Method Detail

      • getTime

        public double getTime()
        Description copied from interface: Clock
        Gets the current time in seconds.
        Specified by:
        getTime in interface Clock
        Returns:
        The current time.