Mercurial > jmeCapture
annotate src/com/aurellem/capture/PrintTimer.java @ 5:0e966c8a3e3d
changed artifact name
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 25 Oct 2011 12:04:13 -0700 |
parents | edaa7e7806e4 |
children |
rev | line source |
---|---|
rlm@4 | 1 package com.aurellem.capture; |
rlm@4 | 2 |
rlm@4 | 3 import com.jme3.system.NanoTimer; |
rlm@4 | 4 |
rlm@4 | 5 public class PrintTimer extends NanoTimer{ |
rlm@4 | 6 |
rlm@4 | 7 public PrintTimer(){ |
rlm@4 | 8 super(); |
rlm@4 | 9 System.out.println("hi");} |
rlm@4 | 10 |
rlm@4 | 11 |
rlm@4 | 12 public float getTimePerFrame() { |
rlm@4 | 13 System.out.println("RLM: I'm a timer!"); |
rlm@4 | 14 return super.getTimePerFrame(); |
rlm@4 | 15 } |
rlm@4 | 16 |
rlm@4 | 17 } |