#include <motion.h>
Public Member Functions | |
| motion (void) | |
| Default constructor. | |
| motion (int x, int y, atomic_rotation face, MOTION imotion) | |
| Constructor intialized with components. | |
| motion (motion const &m) | |
| Copy constructor. | |
| void | update (int x, int y, atomic_rotation face, MOTION imotion) |
| Set internal values. | |
Data Fields | |
| int | _x |
| int | _y |
| Y coordinate (public for speed). | |
| atomic_rotation | _face |
| Orientation in degrees (public for speed). | |
| MOTION | _motion |
| Basic motion or command to perform (public for speed). | |
|
|
Default constructor.
|
|
||||||||||||||||||||
|
Constructor intialized with components.
|
|
|
Copy constructor.
|
|
||||||||||||||||||||
|
Set internal values.
|
|
|
Orientation in degrees (public for speed).
|
|
|
Basic motion or command to perform (public for speed).
|
|
|
|
|
|
Y coordinate (public for speed).
|
1.3