oldTime = 0;
    public void reset() {        lastFPS = 0;        lastTPF = 0;        oldTime = 0;        newTime = 0;        // init to -1 to indicate this is a new timer.        oldTime = -1;        //reset time        startTime = Sys.getTime();        // set tpf... -1 values will not be used for calculating the average in update()        for ( int i = tpf.length; --i >= 0; ) {            tpf[i] = -1;        }    }