public class SetBattleAIEvent extends BattleEvent
BattleParticipant
is being set. The used
BattleAIBase
can be changed. It is worth noting that players get their
AI set, even though it is not used unless simulateMode
in the
BattleController
is true.Modifier and Type | Field and Description |
---|---|
protected BattleAIBase |
ai |
protected BattleParticipant |
participant |
battleController
Constructor and Description |
---|
SetBattleAIEvent(BattleController bc,
BattleParticipant participant,
BattleAIBase ai) |
Modifier and Type | Method and Description |
---|---|
BattleAIBase |
getAI() |
BattleParticipant |
getParticipant() |
void |
setAI(@NonNull BattleAIBase ai) |
getBattleController
protected final BattleParticipant participant
protected BattleAIBase ai
public SetBattleAIEvent(BattleController bc, BattleParticipant participant, BattleAIBase ai)
public BattleParticipant getParticipant()
public BattleAIBase getAI()
public void setAI(@NonNull BattleAIBase ai)