Mercurial > cortex
comparison org/util.org @ 341:2e7d786241d3
now I am satisfied with the tests.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Jul 2012 12:20:43 -0500 |
parents | 70469ff8eb56 |
children | 9fa92af29c3a |
comparison
equal
deleted
inserted
replaced
340:4f5a5d5f1613 | 341:2e7d786241d3 |
---|---|
490 text | 490 text |
491 (proxy [AbstractControl] [] | 491 (proxy [AbstractControl] [] |
492 (controlUpdate [tpf] | 492 (controlUpdate [tpf] |
493 (.setText text (format | 493 (.setText text (format |
494 "%.2f" | 494 "%.2f" |
495 (float (/ (.getTime timer) 1000))))) | 495 (float (.getTimeInSeconds timer))))) |
496 (controlRender [_ _]))) | 496 (controlRender [_ _]))) |
497 (.attachChild (.getGuiNode world) text))) | 497 (.attachChild (.getGuiNode world) text))) |
498 #+end_src | 498 #+end_src |
499 | 499 |
500 | 500 |