docs: add javadocs for nearly everything
This commit is contained in:
@@ -5,39 +5,38 @@ import java.awt.Color;
|
||||
public enum TetrominoShape {
|
||||
SQUARE(new int[][]{
|
||||
{1, 1},
|
||||
{1, 2}
|
||||
{1, 1}
|
||||
}, Color.YELLOW),
|
||||
LINE(new int[][]{
|
||||
{1},
|
||||
{2},
|
||||
{1},
|
||||
{1},
|
||||
{1}
|
||||
}, Color.BLUE),
|
||||
T(new int[][]{
|
||||
{0, 1, 0},
|
||||
{1, 2, 1}
|
||||
{1, 1, 1}
|
||||
}, Color.RED),
|
||||
L_LEFT(new int[][]{
|
||||
{0, 1},
|
||||
{0, 2},
|
||||
{0, 1},
|
||||
{1, 1}
|
||||
}, Color.MAGENTA),
|
||||
L_RIGHT(new int[][]{
|
||||
{1, 0},
|
||||
{2, 0},
|
||||
{1, 0},
|
||||
{1, 1}
|
||||
}, Color.GREEN),
|
||||
ZAP_LEFT(new int[][]{
|
||||
{0, 1},
|
||||
{1, 2},
|
||||
{1, 1},
|
||||
{1, 0}
|
||||
}, Color.CYAN),
|
||||
ZAP_RIGHT(new int[][]{
|
||||
{1, 0},
|
||||
{2, 1},
|
||||
{1, 1},
|
||||
{0, 1}
|
||||
}, Color.ORANGE);
|
||||
;
|
||||
|
||||
final int[][] boundary;
|
||||
final Color color;
|
||||
|
||||
Reference in New Issue
Block a user