setHasPiece

public void setHasPiece(boolean hasPiece)

Sets the state of whether the manipulator has a piece.

Parameters

hasPiece

true if the manipulator has a piece, false otherwise