浏览代码

Fix comment regarding first invocation of getTime

Joel Schumacher 5 年之前
父节点
当前提交
8d627c88ae
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/modules/timer/Timer.h

+ 2 - 1
src/modules/timer/Timer.h

@@ -73,7 +73,8 @@ public:
 
 	/**
 	 * Gets the amount of time in seconds passed since its first invocation
-	 * (which happens as part of Timer::step at the start of love.run).
+	 * (which happens as part of the Timer constructor,
+	 * which is called when the module is first opened).
 	 * Useful for profiling code or measuring intervals.
 	 * The time is microsecond-precise, and increases monotonically.
 	 * @return The time (in seconds)