public static class RibbonEvent.ReceiveRibbon.Pre extends RibbonEvent.ReceiveRibbon
RibbonEvent.ReceiveRibbon.Post, RibbonEvent.ReceiveRibbon.Pre
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbon
shouldDisplay
pokemon, ribbon
Constructor and Description |
---|
Pre(Pokemon pokemon,
Ribbon ribbon,
boolean shouldDisplay) |
Modifier and Type | Method and Description |
---|---|
void |
setRibbon(Ribbon ribbon)
Sets the ribbon being given
|
void |
setShouldDisplay(boolean shouldDisplay)
Sets if the ribbon should be set as the displayed ribbon for the Pokemon
|
isShouldDisplay
getPokemon, getRibbon
public void setRibbon(Ribbon ribbon)
ribbon
- The ribbon givenpublic void setShouldDisplay(boolean shouldDisplay)
shouldDisplay
- The display