|
|
| Grid (int width, int height, int depth, int cellSize) |
| |
|
void | setSize (int cellSize) |
| |
|
void | init (int width, int height, int depth, int cellSize) |
| |
|
void | createCells (Grid::Level size) |
| |
|
void | addLink (LinkEntity *link, Grid::Level m_level) |
| |
|
std::vector< Cell * > | getLinkCells (LinkEntity *link, Grid::Level m_level) |
| |
|
void | addLink (LinkEntity *link, std::vector< Cell * > cell) |
| |
|
void | addEmpty (EmptyEntity *entity, Grid::Level m_level) |
| |
|
void | addNode (NodeEntity *entity, Grid::Level m_level) |
| |
|
void | addEmpty (EmptyEntity *entity, Cell *cell) |
| |
|
void | addNode (NodeEntity *entity, Cell *cell) |
| |
|
Cell * | getCell (int x, int y, int z, Grid::Level m_level) |
| |
|
Cell * | getCell (const Entity &position, Grid::Level m_level) |
| |
|
std::vector< Cell * > | getAdjacentCells (int x, int y, int z, Grid::Level m_level) |
| |
|
std::vector< Cell * > | getAdjacentCells (const Entity &entity, Grid::Level m_level) |
| |
|
std::vector< Cell * > & | getCells (Grid::Level m_level) |
| |
|
int | getCellSize () |
| |
|
int | getNumXCells () |
| |
|
int | getNumYCells () |
| |
|
int | getNumZCells () |
| |
|
bool | setIntersectedCameraCells (ICamera &camera) |
| |
|
std::vector< Cell * > | getIntersectedCameraCells (ICamera &camera) |
| |
|
bool | gridLevelChanged () |
| |
|
Level | getGridLevel () |
| |
|
void | setGridLevel (Level newLevel) |
| |
|
int | getLevelCellScale () |
| |
|
int | getLevelCellScale (Level level) |
| |