public class GameLoopSynchronized
extends java.lang.Object
FunGraphics
using a rendering thread. In this
mode, two different threads are present, the main one and another thread is
created for rendering. The display is smoother in this mode because of the
decoupling but explicit synchronization has to be done.Constructor and Description |
---|
GameLoopSynchronized() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
gameloopSample() |
static void |
main(java.lang.String[] args) |