Pokebot
Pokemon FireRed bot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
UseWarp.hh
Go to the documentation of this file.
1 #ifndef __ACTION_USEWARP_HH__
2 #define __ACTION_USEWARP_HH__
3 
4 #include <map>
5 #include "Data.hh"
6 #include "AAction.hh"
7 #include "PressButton.hh"
8 #include "Wait.hh"
9 #include "MoveTo.hh"
10 #include "PokemonUtils.hh"
11 #include "../vbam/gba/Globals.h"
12 #include "../vbam/sdl/SDLGlobals.h"
13 
14 namespace Action
15 {
16  class UseWarp : public AAction
17  {
18  public:
19  UseWarp(uint8_t personId);
20  ~UseWarp();
21 
22  private:
23  void _init();
24  void _update();
25  void _turnToOW();
26 
27  private:
28  uint8_t _id;
29  static std::map<uint16_t, EKey> _behaviours;
30  };
31 };
32 
33 #endif
UseWarp(uint8_t personId)
Definition: UseWarp.cpp:21
Definition: AAction.hh:12
Definition: UseWarp.hh:16
~UseWarp()
Definition: UseWarp.cpp:26
Definition: AAction.hh:24