Class OpponentMemory
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.OpponentMemory
Information that a smart AI has gathered about an opponent Pokémon.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the attacks that the AI thinks this Pokémon has.void
seeAttack
(PixelmonWrapper user, Attack attack) Registers an attack that the AI has seen.
-
Constructor Details
-
OpponentMemory
Initializes a memory.- Parameters:
pokemon
- The Pokémon represented by the memory.
-
-
Method Details
-
seeAttack
Registers an attack that the AI has seen.- Parameters:
user
- The user of the attack.attack
- The attack that was seen.
-
getAttacks
Gets the attacks that the AI thinks this Pokémon has.- Returns:
- The attacks that the AI thinks this Pokémon has.
-