FOP-2425-Marathon/src/main/java/h04/chesspieces/Rook.java
Oshgnacknak d5e7d75218 Squashed 'H04/' content from commit 56e60eb
git-subtree-dir: H04
git-subtree-split: 56e60eb1fcd414e90e1eab14872c5821ca25899a
2025-01-11 16:41:00 +01:00

25 lines
536 B
Java

package h04.chesspieces;
import fopbot.Robot;
//Wichtig für Implementation
//import h04.movement.MoveStrategy;
import h04.template.ChessUtils;
import java.awt.Point;
public class Rook extends Robot {
private final Team team;
public Rook(final int x, final int y, final Team team){
super(x, y, team == Team.WHITE ? Families.ROOK_WHITE : Families.ROOK_BLACK);
this.team = team;
}
//Wichtig für Implementation
//@Override
public Team getTeam() {
return team;
}
//TODO H4.5
}