Mercurial > jmeCapture
diff src/com/aurellem/capture/RatchetTimer.java @ 64:155c70b7e6de
removed cursing
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 10 Feb 2012 04:07:05 -0700 |
parents | df4a2d12ea13 |
children | ddb300c5335f |
line wrap: on
line diff
1.1 --- a/src/com/aurellem/capture/RatchetTimer.java Sun Jan 15 04:10:37 2012 -0700 1.2 +++ b/src/com/aurellem/capture/RatchetTimer.java Fri Feb 10 04:07:05 2012 -0700 1.3 @@ -19,7 +19,10 @@ 1.4 this.framerate = framerate; 1.5 this.ticks = 0; 1.6 } 1.7 - 1.8 + 1.9 + /** 1.10 + * return time in milliseconds 1.11 + */ 1.12 public long getTime() { 1.13 return (long) (this.ticks * (1.0f / this.framerate) * 1000f); 1.14 }