public class RateAdjuster extends java.lang.Object implements Steppable
myGUIState.scheduleRepeatingImmediatelyAfter(new RateAdjuster(60)); // I want 60 frames per second maximum
Constructor and Description |
---|
RateAdjuster(double targetRate) |
Modifier and Type | Method and Description |
---|---|
void |
step(SimState state) |