From 056745167958d07cc0e50b7216e0302ad875b131 Mon Sep 17 00:00:00 2001 From: oakes Date: Sun, 5 Jan 2014 16:51:43 -0500 Subject: [PATCH] Add fps --- src/play_clj/core_global.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/play_clj/core_global.clj b/src/play_clj/core_global.clj index 261542a..8f8f4c6 100644 --- a/src/play_clj/core_global.clj +++ b/src/play_clj/core_global.clj @@ -15,6 +15,7 @@ (case key :width `(.getWidth (Gdx/graphics)) :height `(.getHeight (Gdx/graphics)) + :fps `(.getFramesPerSecond (Gdx/graphics)) :is-fullscreen? `(.isFullscreen (Gdx/graphics)) :is-touched? `(.isTouched (Gdx/input)) :x `(.getX (Gdx/input))