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
30: low_bound(low), high_bound(high) {}
CellCoord high_bound
Definition: Cell.h:41
CellCoord low_bound
Definition: Cell.h:40

Member Function Documentation

◆ operator!()

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

References high_bound, and low_bound.

◆ ResizeBorders()

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

References high_bound, and low_bound.

Member Data Documentation

◆ high_bound

◆ low_bound