public class GameThread
extends java.lang.Thread
| Constructor and Description |
|---|
GameThread(android.view.SurfaceHolder surfaceHolder,
GameHolder gameHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Calls the
run() method of the Runnable object the receiver
holds. |
void |
setRunning(boolean running) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, parkFor, parkUntil, popInterruptAction$, pushInterruptAction$, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, unpark, yieldpublic GameThread(android.view.SurfaceHolder surfaceHolder,
GameHolder gameHolder)
public void setRunning(boolean running)
public void run()
java.lang.Threadrun() method of the Runnable object the receiver
holds. If no Runnable is set, does nothing.run in interface java.lang.Runnablerun in class java.lang.ThreadThread.start()