NPCEvent.EndBattle, NPCEvent.Interact, NPCEvent.StartBattle
Modifier and Type | Field and Description |
---|---|
boolean |
abnormal
Whether or not the battle ended in an abnormal (as in crash/error/forced) manner.
|
BattleControllerBase |
bc
The
BattleControllerBase of the battle. |
EnumBattleEndCause |
cause
The cause of the battle ending, as per
EnumBattleEndCause . |
Constructor and Description |
---|
EndBattle(BattleControllerBase bc,
EnumBattleEndCause cause,
boolean abnormal,
java.util.Map<BattleParticipant,BattleResults> results) |
Modifier and Type | Method and Description |
---|---|
TrainerParticipant |
getNPCParticipant() |
BattleResults |
getNPCResults() |
PlayerParticipant |
getPlayerParticipant() |
BattleResults |
getPlayerResults() |
public final BattleControllerBase bc
BattleControllerBase
of the battle.public final EnumBattleEndCause cause
EnumBattleEndCause
.public final boolean abnormal
public EndBattle(BattleControllerBase bc, EnumBattleEndCause cause, boolean abnormal, java.util.Map<BattleParticipant,BattleResults> results)
public PlayerParticipant getPlayerParticipant()
public TrainerParticipant getNPCParticipant()
public BattleResults getPlayerResults()
public BattleResults getNPCResults()