Public Member Functions | |
| COORDS (unsigned col, unsigned row) | |
| void | row (unsigned r) |
| unsigned | row () const |
| void | col (unsigned c) |
| unsigned | col () const |
| void | move (int horz, int vert) |
| bool | operator== (COORDS coords) const |
| bool | operator!= (COORDS coords) const |
| void | swap (COORDS &coords) |
|
||||||||||||
|
c'tor
|
|
|
Returns the column of this coordinates.
|
|
|
Sets the column of this coordinates.
|
|
||||||||||||
|
Moves this coordinates.
|
|
|
Compare two coordinates.
|
|
|
Compare two coordinates.
|
|
|
Returns the row of this coordinates.
|
|
|
Sets the row of this coordinates.
|
|
|
Swaps two coordinates.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |