Pokebot
Pokemon FireRed bot
|
#include <Wait.hh>
Public Member Functions | |
Wait (uint16_t frames) | |
Wait (bool(*until)()) | |
~Wait () | |
![]() | |
AAction () | |
Action::State | update () |
virtual | ~AAction () |
void | queue (AAction *act) |
void | reset () |
Action::State | getState () const |
void | setState (Action::State st) |
void | emit (const std::string &signal) |
void | addListener (const std::string &signal, void(*listener)(AAction *)) |
void | addListener (const std::string &signal, void(AAction::*listener)()) |
Additional Inherited Members | |
![]() | |
uint32_t | _getCounter () const |
![]() | |
Data & | _data |
Action::State | _state |
std::queue< AAction * > | _actions |
std::map< std::string, std::vector< std::function < void(AAction *)> > > | _listeners |
Action::Wait::Wait | ( | uint16_t | frames | ) |
Wait a certain number of frames
frames | The duration of the wait |
Action::Wait::Wait | ( | bool(*)() | until | ) |
Wait until a condition is met
until | A function that returns true when the condition is met |
Action::Wait::~Wait | ( | ) |