-
gameRunning
boolean gameRunning
Indicator that the game is still running.
-
dimension
java.awt.Dimension dimension
Dimension of the board.
-
delay
long delay
Time for each iteration (frame) in nano seconds.
-
thread
java.lang.Thread thread
The thread.
-
image
java.awt.Image image
Canvas the game is drawn on.
-
backgroundColor
java.awt.Color backgroundColor
Color of the background of the board.
-
fps
long fps
Frame per second counter (only used if debugging is on).
-
lastDebugUpdate
long lastDebugUpdate
Timestamp of the last update of the debug line.
-
mouseEvents
java.util.List<E> mouseEvents
The captured mouse events.
-
keyEvents
java.util.List<E> keyEvents
The captured key events for typed keys.
-
keyListener
java.util.List<E> keyListener
All game elements that want to get key events.
-
mouseListener
java.util.List<E> mouseListener
All game elements that want to get mouse events.