java.lang.Runnable
public class GameLoop
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field | Description |
---|---|---|
static int |
FPS |
Frame Per Second.
|
static long |
startTime |
Modifier and Type | Method | Description |
---|---|---|
void |
init() |
This must be called before the game loop starts.
|
void |
run() |
public static final int FPS
public static long startTime
public GameLoop(GameFrame frame)