Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -3,7 +3,7 @@ package chess;
|
||||
import javalib.worldimages.*;
|
||||
|
||||
// The piece types.
|
||||
enum PieceType { PAWN, ROOK, KNIGHT, BISHOP, POPE, QUEEN, KING }
|
||||
enum PieceType { PAWN, ROOK, KNIGHT, BISHOP, POPE, QUEEN, KING, SINGER }
|
||||
|
||||
// A chess piece.
|
||||
abstract class Piece {
|
||||
@@ -14,6 +14,7 @@ abstract class Piece {
|
||||
this.type = type;
|
||||
this.col = col;
|
||||
}
|
||||
|
||||
WorldImage draw() { return new EmptyImage(); };
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user