title: Can the cocos2d Director return time?
body: <p>I am currently using the cocos2d Director for controlling my animation with the <code>pause</code>, <code>resume</code>, and <code>stopAnimation</code> methods.  Is it also possible to use the Director to return the time that the animation has played?</p>
  
  <p>I am currently using this method:</p>
  
  <pre><code>-(void)stopAnimation:(id)sender {
      //Timer initialized elsewhere: startTimer = [NSDate timeIntervalSinceReferenceDate];
      //Do other method stuff here 
  
      [[Director sharedDirector] stopAnimation];
      stopTimer = [NSDate timeIntervalSinceReferenceDate];
      elapsedTime = (stopTimer - startTimer);
      NSLog(@"elapsedTime = %f", elapsedTime);
  }
  </code></pre>