LOG320_Lab4/src/main/java/laboratoire4/IPawn.java
2023-04-09 13:26:32 -04:00

17 lines
445 B
Java

package laboratoire4;
import laboratoire4.pawns.PawnMovement;
public interface IPawn {
boolean isMoveValid(IPawn[][] board, PawnMovement movement);
boolean isMoveValid(IPawn[][] board, PawnMovement movement, int fromRow, int fromCol);
void move(PawnMovement movement);
boolean isPusher();
int getDirection();
Player getPlayer();
int getRow();
int getCol();
void setRow(int row);
void setCol(int col);
}