summaryrefslogtreecommitdiffstats
path: root/src/subconscious/graphics/widget/PerfView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/subconscious/graphics/widget/PerfView.java')
-rw-r--r--src/subconscious/graphics/widget/PerfView.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/subconscious/graphics/widget/PerfView.java b/src/subconscious/graphics/widget/PerfView.java
index 8aa7c7e..94c68ab 100644
--- a/src/subconscious/graphics/widget/PerfView.java
+++ b/src/subconscious/graphics/widget/PerfView.java
@@ -3,6 +3,11 @@ package subconscious.graphics.widget;
import java.awt.Graphics2D;
+/* PerfView
+ * Simple example implementation that shows the performance of the game,
+ * it was mainly created for debugging, but could be used to show FPS in the
+ * final game.
+ */
public class PerfView extends Widget implements Dynamic {
public static final int WIDTH = 120;