|
Pokebot
Pokemon FireRed bot
|
#include <MoveCursor.hh>


Public Member Functions | |
| MoveCursor (uint8_t w, uint8_t h, uint8_t dest, uint8_t(*f)()) | |
| ~MoveCursor () | |
Public Member Functions inherited from AAction | |
| 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 | |
Protected Member Functions inherited from AAction | |
| uint32_t | _getCounter () const |
Protected Attributes inherited from AAction | |
| Data & | _data |
| Action::State | _state |
| std::queue< AAction * > | _actions |
| std::map< std::string, std::vector< std::function < void(AAction *)> > > | _listeners |
| Action::MoveCursor::MoveCursor | ( | uint8_t | w, |
| uint8_t | h, | ||
| uint8_t | dest, | ||
| uint8_t(*)() | f | ||
| ) |
Moves the cursor to a specific position in a box
| w | Width of the box |
| h | Height of the bow |
| dest | Index of destination position |
| f | Function that returns the current cursor position |
| Action::MoveCursor::~MoveCursor | ( | ) |
1.8.8