Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
screen_coordinate Class Reference

The coordinate on a screen. More...

#include <screen_coordinate.h>

Public Member Functions

 screen_coordinate (const int x=0, const int y=0)
 
int get_x () const noexcept
 
int get_y () const noexcept
 

Detailed Description

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

Constructor & Destructor Documentation

◆ screen_coordinate()

screen_coordinate::screen_coordinate ( const int  x = 0,
const int  y = 0 
)
explicit

Member Function Documentation

◆ 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: