Files
3DChess/app/src/main/java/chess/io/commands/GrandCastlingCommand.java
2025-04-04 20:33:24 +02:00

21 lines
480 B
Java

package chess.io.commands;
import chess.io.OutputSystem;
import chess.io.PlayerCommand;
import chess.model.Game;
public class GrandCastlingCommand extends PlayerCommand {
@Override
public CommandResult execute(Game game, OutputSystem outputSystem) {
return CommandResult.NotAllowed;
}
@Override
public void undo(Game game, OutputSystem outputSystem) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'undo'");
}
}