Serialized Form
|
Class ctf.view.Console.ConsoleFrame extends javax.swing.JFrame implements Serializable |
model
GameViewInterface model
- The model
previousSize
java.awt.Dimension previousSize
- The size of the canvas on the last redraw
field
java.awt.geom.RectangularShape field
- The size of the field (world co-ordinates)
jails
java.awt.geom.RectangularShape[] jails
- Jails (world co-ordinates)
playerRadius
int playerRadius
- Player radius (pixels)
treeRadius
int treeRadius
- Tree radius (pixels)
flagRadius
int flagRadius
- Flag radius (pixels)
treeColor
java.awt.Color treeColor
- The trees
fieldColors
java.awt.Color[] fieldColors
- Field colours
borderColor
java.awt.Color borderColor
- Border lines (between field halves, around players, etc.)
metresToPixelsX
double metresToPixelsX
- Converts world X co-ordinates (in m) to view co-ordinates (in pixels)
metresToPixelsY
double metresToPixelsY
- Converts world Y co-ordinates (in m) to view co-ordinates (in pixels)