import java.awt.*; class ZShape extends Shape { ZShape(int row, int column, World world) { super(row, column, world); this.color = new Color(204, 102, 102); this.rotations = new int[][][] { { { 1, 1, 0}, { 0, 1, 1}, { 0, 0, 0}}, { { 0, 0, 1}, { 0, 1, 1}, { 0, 1, 0}}, { { 0, 0, 0}, { 1, 1, 0}, { 0, 1, 1}}, { { 0, 1, 0}, { 1, 1, 0}, { 1, 0, 0}} }; this.squares = createMap(row, column); } }