All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nullpointergames.boardgames.NullRule Maven / Gradle / Ivy

There is a newer version: 0.1.17
Show newest version
package com.nullpointergames.boardgames;

import static com.nullpointergames.boardgames.chess.PieceType.NULL;
import static java.util.Collections.emptyList;

import java.util.List;

import com.nullpointergames.boardgames.chess.PieceType;

public class NullRule extends Rule {

	public NullRule(Board board, Position from) {
		super(board, from);
	}

	@Override
	public List possibleMovesWithoutCheckVerification() {
		return emptyList();
	}

	@Override
	public PieceType pieceType() {
		return NULL;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy