Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::tradeui::Rect Struct Reference

#include <TradeUI.hpp>

Public Member Functions

constexpr bool contains (int x, int y) const noexcept
 
bool operator== (const Rect &) const =default
 

Public Attributes

int left {}
 
int top {}
 
int right {}
 
int bottom {}
 

Detailed Description

Definition at line 27 of file TradeUI.hpp.

Member Function Documentation

◆ contains()

constexpr bool monopoly::tradeui::Rect::contains ( int  x,
int  y 
) const
inlineconstexprnoexcept

Definition at line 34 of file TradeUI.hpp.

◆ operator==()

bool monopoly::tradeui::Rect::operator== ( const Rect &  ) const
default

Member Data Documentation

◆ bottom

int monopoly::tradeui::Rect::bottom {}

Definition at line 32 of file TradeUI.hpp.

◆ left

int monopoly::tradeui::Rect::left {}

Definition at line 29 of file TradeUI.hpp.

◆ right

int monopoly::tradeui::Rect::right {}

Definition at line 31 of file TradeUI.hpp.

◆ top

int monopoly::tradeui::Rect::top {}

Definition at line 30 of file TradeUI.hpp.


The documentation for this struct was generated from the following file: