The coordinate on a screen.
More...
#include <screen_coordinate.h>
The coordinate on a screen.
The coordinate on the screen, where (0,0) denotes the top-left pixel of the screen.
- See also
- game_coordinate} for the chessboard coordinats
◆ screen_coordinate()
| screen_coordinate::screen_coordinate |
( |
const int |
x = 0, |
|
|
const int |
y = 0 |
|
) |
| |
|
explicit |
◆ get_x()
| int screen_coordinate::get_x |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_y()
| int screen_coordinate::get_y |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: