Mercurial > hg > ristipolku
changeset 155:1ba6f56203f2
Disable FPS counter for now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Apr 2013 20:35:05 +0300 |
parents | 48b91eabc029 |
children | 3b469dfe3366 |
files | game/Engine.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/game/Engine.java Thu Apr 11 20:34:45 2013 +0300 +++ b/game/Engine.java Thu Apr 11 20:35:05 2013 +0300 @@ -758,10 +758,11 @@ // Frames per second counter +/* g2.setFont(G.fonts[1]); long currTime = new Date().getTime(); g2.drawString("fps = "+ ((gameFrames * 1000) / (currTime - startTime)), G.screenDim.width - 120, 20); - +*/ gameFrames++; }