final class RefreshTask
extends java.util.TimerTask
Modifier and Type | Field and Description |
---|---|
(package private) int |
i |
private TurtleField |
turtleField |
Constructor and Description |
---|
RefreshTask(TurtleField turtleField) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Updates the screen with the turtle
With backup code that executes two updates to ensure that
the turtle appears even if the computer that is being
used is a little slow
|
int i
private TurtleField turtleField
RefreshTask(TurtleField turtleField)
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask