public static class RibbonEvent.ReceiveRibbon extends RibbonEvent
Modifier and Type | Class and Description |
---|---|
static class |
RibbonEvent.ReceiveRibbon.Post
Fired after the ribbon is given to the Pokemon
|
static class |
RibbonEvent.ReceiveRibbon.Pre
Fired just before the ribbon is given
Here you can modify the ribbon given, or if it will be set as the display ribbon
Cancelling this will prevent the ribbon being given or displayed
|
RibbonEvent.ReceiveRibbon, RibbonEvent.RemoveRibbon, RibbonEvent.SetDisplayedRibbon
Modifier and Type | Field and Description |
---|---|
protected boolean |
shouldDisplay |
pokemon, ribbon
Constructor and Description |
---|
ReceiveRibbon(Pokemon pokemon,
Ribbon ribbon,
boolean shouldDisplay) |
Modifier and Type | Method and Description |
---|---|
boolean |
isShouldDisplay()
Will tell you if the ribbon given will be forced as the display ribbon
|
getPokemon, getRibbon