
Controls
The control holds the current mouse position as well as the action command. These controls come in the flavors START and END which represent the start and the end of an action, respectively.
Public Types | |
| enum | Type { START, END } |
Public Member Functions | |
| ActionControl (const Command &c, Type t, const int &x, const int &y, const std::string ¶m="") | |
| ActionControl () | |
| void | deserialize (BinaryInput &) |
| const Command & | getCommand () const |
| const std::string & | getParameter () const |
| const int & | getPositionX () const |
| const int & | getPositionY () const |
| virtual int | getRegTypeID () |
| Type | getType () const |
| void | serialize (BinaryOutput &) const |
Static Public Member Functions | |
| static int | getStaticRegTypeID () |
| static void | setStaticRegTypeID (int id) |
Static Protected Attributes | |
| static int | typeID |
| static int | typeID |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
Implements ONE::util::Serializable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements ONE::util::RegisterableType< ActionControl >. |
|
|
Reimplemented from ONE::util::Serializable. |
|
|
|
|
|
Implements ONE::util::Serializable. |
|
|
Reimplemented from ONE::util::Serializable. |
|
|
|
|
|
|
1.4.3