class Timer:
    '''
    This class should spawn another thread that will keep track of a target time
    and compare it to the current system time in order to see how much time is left
    '''
    def __init__(self):
        pass

    def start_timer(self, duration):
        '''
        Starts a new timer with the duration which is given in seconds
        '''
        pass

    def extend_duration(self, duration):
        '''
        Adds time to the timer based on the duration which is given in seconds
        '''
        pass

    def get_time_left(self):
        '''
        Returns the amount of time left in seconds
        Returns -1 if the most recent timer has expired/there is no timer being tracked
        '''
        pass

@@ -6,27 +6,27 @@
  Timer:%0A    
-'''
+%22%22%22
 %0A    This cl
@@ -179,27 +179,27 @@
 is left%0A    
-'''
+%22%22%22
 %0A    def __i
@@ -212,23 +212,138 @@
 self
-):%0A        pass
+, timer_type, goal_name=None):%0A        self.active = False%0A        self.timer_type = timer_type%0A        self.goal_name = goal_name
 %0A%0A  
@@ -385,28 +385,19 @@
         
-'''%0A        
+%22%22%22
 Starts a
@@ -429,203 +429,154 @@
 ion 
-which is given in seconds%0A        '''%0A        pass%0A%0A    def extend_duration(self, duration):%0A        '''%0A        Adds time to the timer based on the duration which is given in seconds%0A        '''
+(seconds) and sets timer to active%22%22%22%0A        pass%0A%0A    def reset(self):%0A        %22%22%22Stops the current timer (if any) and sets timer to inactive%22%22%22
 %0A   
@@ -598,21 +598,18 @@
 def 
-get_time_left
+is_running
 (sel
@@ -624,172 +624,84 @@
     
-'''%0A        Returns the amount of time left in seconds%0A        Returns -1 if the most recent timer has expired/there is no timer being tracked%0A        '''%0A        pass
+%22%22%22Returns true if the timer is currently running%22%22%22%0A        return self.active
 %0A

Add API for Timer (#421)