Pokebot
Pokemon FireRed bot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MoveCursor.hh
Go to the documentation of this file.
1 #ifndef __ACTION_MOVECURSOR_HH__
2 #define __ACTION_MOVECURSOR_HH__
3 
4 #include "Data.hh"
5 #include "AAction.hh"
6 #include "PokemonUtils.hh"
7 #include "../vbam/gba/Globals.h"
8 #include "../vbam/sdl/SDLGlobals.h"
9 
10 namespace Action
11 {
12  class MoveCursor : public AAction
13  {
14  public:
15  MoveCursor(uint8_t w, uint8_t h, uint8_t dest, uint8_t (*f)());
16  ~MoveCursor();
17 
18  private:
19  void _init();
20  void _update();
21 
22  private:
23  uint8_t _w;
24  uint8_t _h;
25  uint8_t _dx;
26  uint8_t _dy;
27  uint8_t (*_f)();
28  };
29 };
30 
31 #endif
Definition: MoveCursor.hh:12
Definition: AAction.hh:12
MoveCursor(uint8_t w, uint8_t h, uint8_t dest, uint8_t(*f)())
Definition: MoveCursor.cpp:11
Definition: AAction.hh:24
~MoveCursor()
Definition: MoveCursor.cpp:16