public class OpponentMemory
extends java.lang.Object
Constructor and Description |
---|
OpponentMemory(PixelmonWrapper pokemon)
Initializes a memory.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Attack> |
getAttacks()
Gets the attacks that the AI thinks this Pokémon has.
|
void |
seeAttack(Attack attack)
Registers an attack that the AI has seen.
|
public OpponentMemory(PixelmonWrapper pokemon)
pokemon
- The Pokémon represented by the memory.public void seeAttack(Attack attack)
attack
- The attack that was seen.public java.util.List<Attack> getAttacks()