diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-01-09 07:42:39 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-01-09 07:42:39 -0500 |
commit | 75f7831673f533ab33e162c869be5ddd48fbf91b (patch) | |
tree | 5e338bd7f637b907a20ec25d5dd17a2675348aa5 /2d/time.scm | |
parent | d3ecfcb19bb011e01a5f3c3d9145789a1b6ebf1e (diff) |
Move FPS to a module and add accumulator parameter.
* 2d/game.scm (accumulator): New parameter.
(draw-hook): Change to arity 2.
(current-fps, accumulate-fps!, game-fps): Delete.
(game-loop, update-and-render): Drop accumulator formal parameter.
* 2d/fps.scm: New module.
Diffstat (limited to '2d/time.scm')
0 files changed, 0 insertions, 0 deletions