inlib
1.2.0
|
Public Member Functions | |
virtual void * | cast (const std::string &a_class) const |
move_event (unsigned int a_x, unsigned int a_y, int a_dx, int a_dy, float a_wdx, float a_wdy) | |
virtual | ~move_event () |
move_event (const move_event &a_from) | |
move_event & | operator= (const move_event &a_from) |
unsigned int | x () const |
unsigned int | y () const |
int | dx () const |
int | dy () const |
float | wdx () const |
float | wdy () const |
Static Public Member Functions | |
static const std::string & | s_class () |
Protected Attributes | |
unsigned int | m_x |
unsigned int | m_y |
int | m_dx |
int | m_dy |
float | m_wdx |
float | m_wdy |
Definition at line 79 of file event_action.
inlib::sg::move_event::move_event | ( | unsigned int | a_x, |
unsigned int | a_y, | ||
int | a_dx, | ||
int | a_dy, | ||
float | a_wdx, | ||
float | a_wdy | ||
) | [inline] |
virtual inlib::sg::move_event::~move_event | ( | ) | [inline, virtual] |
Definition at line 97 of file event_action.
{}
inlib::sg::move_event::move_event | ( | const move_event & | a_from | ) | [inline] |
virtual void* inlib::sg::move_event::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Implements inlib::sg::event.
Definition at line 85 of file event_action.
{ if(void* p = inlib::cmp_cast<move_event>(this,a_class)) {return p;} return 0; }
int inlib::sg::move_event::dx | ( | ) | const [inline] |
Definition at line 115 of file event_action.
{return m_dx;}
int inlib::sg::move_event::dy | ( | ) | const [inline] |
Definition at line 116 of file event_action.
{return m_dy;}
move_event& inlib::sg::move_event::operator= | ( | const move_event & | a_from | ) | [inline] |
Definition at line 105 of file event_action.
static const std::string& inlib::sg::move_event::s_class | ( | ) | [inline, static] |
Definition at line 81 of file event_action.
{ static const std::string s_v("inlib::sg::move_event"); return s_v; }
float inlib::sg::move_event::wdx | ( | ) | const [inline] |
Definition at line 117 of file event_action.
{return m_wdx;}
float inlib::sg::move_event::wdy | ( | ) | const [inline] |
Definition at line 118 of file event_action.
{return m_wdy;}
unsigned int inlib::sg::move_event::x | ( | ) | const [inline] |
Definition at line 113 of file event_action.
{return m_x;}
unsigned int inlib::sg::move_event::y | ( | ) | const [inline] |
Definition at line 114 of file event_action.
{return m_y;}
int inlib::sg::move_event::m_dx [protected] |
Definition at line 122 of file event_action.
int inlib::sg::move_event::m_dy [protected] |
Definition at line 123 of file event_action.
float inlib::sg::move_event::m_wdx [protected] |
Definition at line 125 of file event_action.
float inlib::sg::move_event::m_wdy [protected] |
Definition at line 126 of file event_action.
unsigned int inlib::sg::move_event::m_x [protected] |
Definition at line 120 of file event_action.
unsigned int inlib::sg::move_event::m_y [protected] |
Definition at line 121 of file event_action.