TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CellArea Struct Reference

#include <Cell.h>

Public Member Functions

 CellArea ()
 
 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
 

Constructor & Destructor Documentation

CellArea::CellArea ( )
inline
34 { }
CellArea::CellArea ( CellCoord  low,
CellCoord  high 
)
inline
35 : low_bound(low), high_bound(high) { }
CellCoord low_bound
Definition: Cell.h:45
CellCoord high_bound
Definition: Cell.h:46

Member Function Documentation

bool CellArea::operator! ( ) const
inline
37 { return low_bound == high_bound; }
CellCoord low_bound
Definition: Cell.h:45
CellCoord high_bound
Definition: Cell.h:46
void CellArea::ResizeBorders ( CellCoord begin_cell,
CellCoord end_cell 
) const
inline
40  {
41  begin_cell = low_bound;
42  end_cell = high_bound;
43  }
CellCoord low_bound
Definition: Cell.h:45
CellCoord high_bound
Definition: Cell.h:46

Member Data Documentation

CellCoord CellArea::high_bound
CellCoord CellArea::low_bound

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