Class OpponentMemory

java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.OpponentMemory

public class OpponentMemory extends Object
Information that a smart AI has gathered about an opponent Pokémon.
  • Constructor Details

    • OpponentMemory

      public OpponentMemory(PixelmonWrapper pokemon)
      Initializes a memory.
      Parameters:
      pokemon - The Pokémon represented by the memory.
  • Method Details

    • seeAttack

      public void seeAttack(PixelmonWrapper user, Attack attack)
      Registers an attack that the AI has seen.
      Parameters:
      user - The user of the attack.
      attack - The attack that was seen.
    • getAttacks

      public List<Attack> getAttacks()
      Gets the attacks that the AI thinks this Pokémon has.
      Returns:
      The attacks that the AI thinks this Pokémon has.