#include <Cell.h>
|
| Cell () |
|
| Cell (Cell const &cell) |
|
| Cell (CellCoord const &p) |
|
| Cell (float x, float y) |
|
void | Compute (uint32 &x, uint32 &y) const |
|
bool | DiffCell (Cell const &cell) const |
|
bool | DiffGrid (Cell const &cell) const |
|
uint32 | CellX () const |
|
uint32 | CellY () const |
|
uint32 | GridX () const |
|
uint32 | GridY () const |
|
bool | NoCreate () const |
|
void | SetNoCreate () |
|
CellCoord | GetCellCoord () const |
|
Cell & | operator= (Cell const &cell) |
|
bool | operator== (Cell const &cell) const |
|
template<class T , class CONTAINER > |
void | Visit (CellCoord const &, TypeContainerVisitor< T, CONTAINER > &visitor, Map &, WorldObject const &obj, float radius) const |
|
template<class T , class CONTAINER > |
void | Visit (CellCoord const &, TypeContainerVisitor< T, CONTAINER > &visitor, Map &, float x, float y, float radius) const |
|
|
static CellArea | CalculateCellArea (float x, float y, float radius) |
|
template<class T > |
static void | VisitGridObjects (WorldObject const *obj, T &visitor, float radius, bool dont_load=true) |
|
template<class T > |
static void | VisitWorldObjects (WorldObject const *obj, T &visitor, float radius, bool dont_load=true) |
|
template<class T > |
static void | VisitAllObjects (WorldObject const *obj, T &visitor, float radius, bool dont_load=true) |
|
template<class T > |
static void | VisitGridObjects (float x, float y, Map *map, T &visitor, float radius, bool dont_load=true) |
|
template<class T > |
static void | VisitWorldObjects (float x, float y, Map *map, T &visitor, float radius, bool dont_load=true) |
|
template<class T > |
static void | VisitAllObjects (float x, float y, Map *map, T &visitor, float radius, bool dont_load=true) |
|
Definition at line 46 of file Cell.h.
◆ Cell() [1/4]
◆ Cell() [2/4]
Cell::Cell |
( |
Cell const & |
cell | ) |
|
|
inline |
◆ Cell() [3/4]
◆ Cell() [4/4]
Cell::Cell |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inlineexplicit |
◆ CalculateCellArea()
CellArea Cell::CalculateCellArea |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
radius |
|
) |
| |
|
inlinestatic |
◆ CellX()
◆ CellY()
◆ Compute()
◆ DiffCell()
bool Cell::DiffCell |
( |
Cell const & |
cell | ) |
const |
|
inline |
◆ DiffGrid()
bool Cell::DiffGrid |
( |
Cell const & |
cell | ) |
const |
|
inline |
◆ GetCellCoord()
◆ GridX()
◆ GridY()
◆ NoCreate()
bool Cell::NoCreate |
( |
| ) |
const |
|
inline |
◆ operator=()
Cell & Cell::operator= |
( |
Cell const & |
cell | ) |
|
|
inline |
◆ operator==()
bool Cell::operator== |
( |
Cell const & |
cell | ) |
const |
|
inline |
◆ SetNoCreate()
void Cell::SetNoCreate |
( |
| ) |
|
|
inline |
◆ Visit() [1/2]
template<class T , class CONTAINER >
◆ Visit() [2/2]
template<class T , class CONTAINER >
◆ VisitAllObjects() [1/2]
template<class T >
void Cell::VisitAllObjects |
( |
float |
x, |
|
|
float |
y, |
|
|
Map * |
map, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ VisitAllObjects() [2/2]
template<class T >
void Cell::VisitAllObjects |
( |
WorldObject const * |
obj, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ VisitCircle()
template<class T , class CONTAINER >
◆ VisitGridObjects() [1/2]
template<class T >
void Cell::VisitGridObjects |
( |
float |
x, |
|
|
float |
y, |
|
|
Map * |
map, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ VisitGridObjects() [2/2]
template<class T >
void Cell::VisitGridObjects |
( |
WorldObject const * |
obj, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ VisitWorldObjects() [1/2]
template<class T >
void Cell::VisitWorldObjects |
( |
float |
x, |
|
|
float |
y, |
|
|
Map * |
map, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ VisitWorldObjects() [2/2]
template<class T >
void Cell::VisitWorldObjects |
( |
WorldObject const * |
obj, |
|
|
T & |
visitor, |
|
|
float |
radius, |
|
|
bool |
dont_load = true |
|
) |
| |
|
inlinestatic |
◆ All
◆ cell_x
◆ cell_y
◆ grid_x
◆ grid_y
◆ nocreate
struct { ... } Cell::Part |
◆ reserved
The documentation for this struct was generated from the following files: