Upload files to "src/openonyx/movement"
This commit is contained in:
1 parent
6628e46ab4
commit
fea7f8008d
5 files changed
+240
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package openonyx.movement;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
class PredictionTrackCallback implements Iterator<SimulatedTickState> {
|
||||
private int i;
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return this.i <= this.H;
|
||||
}
|
||||
|
||||
public SimulatedTickState L() {
|
||||
return this.predictionTrack.L(this.i++);
|
||||
}
|
||||
|
||||
PredictionTrackCallback(PredictionTrack predictionTrack, int i, int j) {
|
||||
this.predictionTrack = predictionTrackx;
|
||||
this.e = ix;
|
||||
this.H = j;
|
||||
this.i = this.e;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user