Files Classes Functions Hierarchy
#include <cursor.h>
Public Member Functions | |
| cursor () | |
| The cursor is in the center square. | |
| void | up () |
| Move up. | |
| void | down () |
| Move down. | |
| void | left () |
| Move left. | |
| void | right () |
| Move right. | |
Public Attributes | |
| uint | j |
| The x-axis component. | |
| uint | k |
| The y-axis component. | |
This is used to help manipulate the cube.
(j,k) 02 12 22 01 11 21 00 10 20
Definition at line 19 of file cursor.h.
| cursor::cursor | ( | ) | [inline] |
| void cursor::down | ( | ) | [inline] |
| void cursor::left | ( | ) | [inline] |
| void cursor::right | ( | ) | [inline] |
| void cursor::up | ( | ) | [inline] |
The x-axis component.
Definition at line 24 of file cursor.h.
Referenced by cube::down(), cubedraw3d::draw(), cubedraw2d::draw(), left(), right(), and cube::up().
The y-axis component.
Definition at line 26 of file cursor.h.
Referenced by down(), cubedraw3d::draw(), cubedraw2d::draw(), cube::left(), cube::right(), and up().
1.5.8