added temp sprites and filled board

This commit is contained in:
CT
2026-05-07 19:02:31 -05:00
parent f6aaa63a5f
commit a70b84f991
13 changed files with 13 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ public abstract class Piece {
}
public void draw(Graphics g) {
g.drawImage(sprite, pos.x * 40, pos.y * 40, null);
g.drawImage(sprite, (pos.x + 1) * 40, (pos.y + 1) * 40, null);
}
public abstract ArrayList<Position> getLegalMoves(Board board);