GamePanel
-
public class
GamePanel
extends JPanel
Fields
SCALING_FACTOR
-
public static final int
SCALING_FACTOR
WIDTH
-
public static final int
WIDTH
playerColors
-
public static final Color[]
playerColors
Methods
paintComponent
-
public void
paintComponent
(Graphics g)
reset
-
public void
reset
()
scaleX
-
public int
scaleX
(int x)
scaleY
-
public int
scaleY
(int y)
unscaleX
-
public int
unscaleX
(int x)
unscaleY
-
public int
unscaleY
(int y)