From 3ac76f7d9e64ae63e49a9905cbccfb1f19af9278 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 21 Dec 2005 19:46:34 +0000 Subject: [PATCH] Added showingStatistics(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3797 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/jme/JmeApp.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/java/com/threerings/jme/JmeApp.java b/src/java/com/threerings/jme/JmeApp.java index fc29a1ef1..16e2c23d1 100644 --- a/src/java/com/threerings/jme/JmeApp.java +++ b/src/java/com/threerings/jme/JmeApp.java @@ -152,6 +152,14 @@ public class JmeApp } } + /** + * Returns true if we are displaying statistics, false if not. + */ + public boolean showingStatistics () + { + return (_stats != null); + } + /** * Starts up the main rendering and event processing loop. This method * will not return until the application is terminated with a call to