AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CellArea Struct Reference

#include "Cell.h"

Public Member Functions

 CellArea ()=default
 
 CellArea (CellCoord low, CellCoord high)
 
bool operator! () const
 
void ResizeBorders (CellCoord &begin_cell, CellCoord &end_cell) const
 

Public Attributes

CellCoord low_bound
 
CellCoord high_bound
 

Detailed Description

Constructor & Destructor Documentation

◆ CellArea() [1/2]

CellArea::CellArea ( )
default

◆ CellArea() [2/2]

CellArea::CellArea ( CellCoord  low,
CellCoord  high 
)
inline
31: low_bound(low), high_bound(high) {}
CellCoord high_bound
Definition: Cell.h:42
CellCoord low_bound
Definition: Cell.h:41

Member Function Documentation

◆ operator!()

bool CellArea::operator! ( ) const
inline
33{ return low_bound == high_bound; }

References high_bound, and low_bound.

◆ ResizeBorders()

void CellArea::ResizeBorders ( CellCoord begin_cell,
CellCoord end_cell 
) const
inline
36 {
37 begin_cell = low_bound;
38 end_cell = high_bound;
39 }

References high_bound, and low_bound.

Member Data Documentation

◆ high_bound

◆ low_bound