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.
|
BattleController |
bc
The
BattleController of the battle. |
BattleEndCause |
cause
The cause of the battle ending, as per
BattleEndCause . |
Constructor and Description |
---|
EndBattle(BattleController bc,
BattleEndCause 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 BattleController bc
BattleController
of the battle.public final BattleEndCause cause
BattleEndCause
.public final boolean abnormal
public EndBattle(BattleController bc, BattleEndCause cause, boolean abnormal, java.util.Map<BattleParticipant,BattleResults> results)
public PlayerParticipant getPlayerParticipant()
public TrainerParticipant getNPCParticipant()
public BattleResults getPlayerResults()
public BattleResults getNPCResults()