public class CountDownThread
extends java.lang.Thread
Constructor and Description |
---|
CountDownThread(GameControllerAdapter adapter,
int duration)
Creates a new instance of CountDownThread class.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public CountDownThread(GameControllerAdapter adapter, int duration)
adapter
- The adapter (usually the Game Interface) that controls the game display.duration
- The duration of the game play.