package pp.mdga.game; public class BonusNode extends Node { public BonusNode() {} /** * This method is used to set a new Occupant * * @param occupant the new occupant of the node */ @Override public void setOccupant(Piece occupant) { if (occupant.isSuppressed()){ occupant.setShield(ShieldState.NONE); } //Draw Card Event this.occupant = occupant; } }