Pokebot
Pokemon FireRed bot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Battle.hh
Go to the documentation of this file.
1 #ifndef __ACTION_BATTLE_HH__
2 #define __ACTION_BATTLE_HH__
3 
4 #include "Data.hh"
5 #include "Wait.hh"
6 #include "AAction.hh"
7 #include "MoveCursor.hh"
8 #include "PressButton.hh"
9 #include "PokemonUtils.hh"
10 #include "../vbam/gba/Globals.h"
11 #include "../vbam/sdl/SDLGlobals.h"
12 
13 namespace Action
14 {
15  class Battle : public AAction
16  {
17  public:
18  Battle();
19  ~Battle();
20 
21  private:
22  void _init();
23  void _update();
24 
25  private:
26  void _attack(uint8_t atk);
27  void _switch(uint8_t poke);
28  void _run();
29 
30  private:
31  uint8_t _getBestMove();
32  };
33 };
34 
35 #endif
~Battle()
Definition: Battle.cpp:7
Definition: AAction.hh:12
Battle()
Definition: Battle.cpp:3
Definition: AAction.hh:24
Definition: Battle.hh:15