added init for mdga with all states and messages

This commit is contained in:
Cedric Beck
2024-11-12 17:26:10 +01:00
parent ef16a3f92b
commit a684405891
238 changed files with 1596 additions and 44560 deletions

View File

@@ -0,0 +1,20 @@
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;
}
}