java.lang.Object
java.util.TimerTask
Phase2.GameTimer
- All Implemented Interfaces:
java.lang.Runnable
public class GameTimer
extends java.util.TimerTask
Class running the TimerTask if the game mode selected uses a bot
-
Constructor Summary
Constructors
Constructor |
Description |
GameTimer() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
void |
run() |
|
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class java.util.TimerTask