public class RandomAI extends BattleAIBase
| Constructor and Description | 
|---|
RandomAI(BattleParticipant participant)
Initializes the AI. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.UUID | 
getFaintedPokemonToRevive()
Gets a Pokémon to revive when forced to revive. 
 | 
MoveChoice | 
getNextMove(PixelmonWrapper pw)
Gets the move the AI will make next. 
 | 
java.util.UUID | 
getNextSwitch(PixelmonWrapper pw)
Gets a Pokémon to switch to when forced to switch. 
 | 
getAttackChoices, getAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerMove, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChangepublic RandomAI(BattleParticipant participant)
participant - The participant controlled by the AI.public MoveChoice getNextMove(PixelmonWrapper pw)
BattleAIBasegetNextMove in class BattleAIBasepw - The Pokémon to make a move with.public java.util.UUID getNextSwitch(PixelmonWrapper pw)
BattleAIBasegetNextSwitch in class BattleAIBasepw - The Pokémon switching out.public java.util.UUID getFaintedPokemonToRevive()
BattleAIBasegetFaintedPokemonToRevive in class BattleAIBase