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

#include <StatsUI.hpp>

Public Member Functions

constexpr bool contains (int x, int y) const noexcept
 

Public Attributes

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

Friends

bool operator== (const Rect &, const Rect &)=default
 

Detailed Description

Definition at line 31 of file StatsUI.hpp.

Member Function Documentation

◆ contains()

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

Definition at line 38 of file StatsUI.hpp.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Rect &  ,
const Rect &   
)
friend

Member Data Documentation

◆ bottom

int monopoly::statsui::Rect::bottom {}

Definition at line 36 of file StatsUI.hpp.

◆ left

int monopoly::statsui::Rect::left {}

Definition at line 33 of file StatsUI.hpp.

◆ right

int monopoly::statsui::Rect::right {}

Definition at line 35 of file StatsUI.hpp.

◆ top

int monopoly::statsui::Rect::top {}

Definition at line 34 of file StatsUI.hpp.


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