Module app
Package app.utils.pieceplayer.controls
Class NoControls<M extends Move<P>,P extends Piece>
java.lang.Object
app.utils.pieceplayer.controls.PieceControls<M,P>
app.utils.pieceplayer.controls.NoControls<M,P>
Controls that disallow moving
-
Field Summary
Fields inherited from class app.utils.pieceplayer.controls.PieceControls
piece, player
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn list of legal moves for the piecevoid
Make a move with controlled pieceMethods inherited from class app.utils.pieceplayer.controls.PieceControls
getPiece
-
Constructor Details
-
NoControls
-
-
Method Details
-
getLegalMoves
Description copied from class:PieceControls
Return list of legal moves for the piece- Specified by:
getLegalMoves
in classPieceControls<M extends Move<P>,
P extends Piece>
-
makeMove
Description copied from class:PieceControls
Make a move with controlled piece
-