public class BombThread
extends java.lang.Thread
Constructor and Description |
---|
BombThread(GameControllerAdapter adapter,
Bomb bomb)
Creates an instance of the thread.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Begin to execute the thread.
|
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 BombThread(GameControllerAdapter adapter, Bomb bomb)
adapter
- The adapter that controls the UI of the game.bomb
- The bomb that is to be removed.