Pokebot
Pokemon FireRed bot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Wait.hh
Go to the documentation of this file.
1 #ifndef __ACTION_WAIT_HH__
2 #define __ACTION_WAIT_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 Wait : public AAction
13  {
14  public:
15  Wait(uint16_t frames);
16  Wait(bool (*until)());
17  ~Wait();
18 
19  private:
20  void _init();
21  void _update();
22 
23  private:
24  uint16_t _frames;
25  bool (*_until)();
26  bool _useFrames;
27  };
28 };
29 
30 #endif
~Wait()
Definition: Wait.cpp:23
Wait(uint16_t frames)
Definition: Wait.cpp:8
Definition: AAction.hh:12
Definition: Wait.hh:12
Definition: AAction.hh:24