Mercurial > jmeCapture
comparison src/com/aurellem/capture/PrintTimer.java @ 4:edaa7e7806e4
migrated IsoTimer
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 25 Oct 2011 12:03:01 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:a92de00f0414 | 4:edaa7e7806e4 |
---|---|
1 package com.aurellem.capture; | |
2 | |
3 import com.jme3.system.NanoTimer; | |
4 | |
5 public class PrintTimer extends NanoTimer{ | |
6 | |
7 public PrintTimer(){ | |
8 super(); | |
9 System.out.println("hi");} | |
10 | |
11 | |
12 public float getTimePerFrame() { | |
13 System.out.println("RLM: I'm a timer!"); | |
14 return super.getTimePerFrame(); | |
15 } | |
16 | |
17 } |