diff 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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/com/aurellem/capture/PrintTimer.java	Tue Oct 25 12:03:01 2011 -0700
     1.3 @@ -0,0 +1,17 @@
     1.4 +package com.aurellem.capture;
     1.5 +
     1.6 +import com.jme3.system.NanoTimer;
     1.7 +
     1.8 +public class PrintTimer extends NanoTimer{
     1.9 +
    1.10 +	public PrintTimer(){
    1.11 +		super();
    1.12 +		System.out.println("hi");}
    1.13 +	
    1.14 +		
    1.15 +	public float getTimePerFrame() {
    1.16 +		System.out.println("RLM: I'm a timer!");
    1.17 +		return super.getTimePerFrame();
    1.18 +	}	
    1.19 +
    1.20 +}