Minor cleanup
This commit is contained in:
parent
9cf0136b06
commit
df2268cd55
2 changed files with 1 additions and 3 deletions
|
@ -42,7 +42,7 @@ public class Board {
|
||||||
for (int y = 0; y < 2; y++)
|
for (int y = 0; y < 2; y++)
|
||||||
for (int x = 0; x < BOARD_SIZE; x++) {
|
for (int x = 0; x < BOARD_SIZE; x++) {
|
||||||
set(x, y, new Piece(true));
|
set(x, y, new Piece(true));
|
||||||
set(x, y + 6, new Piece(false));
|
set(x, y + BOARD_SIZE - 2, new Piece(false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
static int TILE_SIZE = 64;
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Board board = new Board();
|
Board board = new Board();
|
||||||
board.draw();
|
board.draw();
|
||||||
|
|
Reference in a new issue