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

A rectangle of game coordinates. More...

#include <game_rect.h>

Public Member Functions

 game_rect (const game_coordinate &top_left=game_coordinate(), const game_coordinate &bottom_right=game_coordinate())
 
const auto & get_tl () const noexcept
 
const auto & get_br () const noexcept
 

Detailed Description

A rectangle of game coordinates.

A rectangle of game_coordinate}.

Constructor & Destructor Documentation

◆ game_rect()

game_rect::game_rect ( const game_coordinate top_left = game_coordinate(),
const game_coordinate bottom_right = game_coordinate() 
)
explicit

Member Function Documentation

◆ get_br()

const auto & game_rect::get_br ( ) const
inlinenoexcept

◆ get_tl()

const auto & game_rect::get_tl ( ) const
inlinenoexcept

The documentation for this class was generated from the following files: