#include <region.hh>
Public Member Functions | |
void | AddBlock () |
void | DrawOccupancy (void) const |
void | DrawVoxels (unsigned int layer) const |
const point_int_t & | GetOrigin () const |
Region * | GetRegion (int32_t x, int32_t y) |
void | RemoveBlock () |
SuperRegion (World *world, point_int_t origin) | |
~SuperRegion () | |
Private Attributes | |
unsigned long | count |
point_int_t | origin |
Region | regions [SUPERREGIONSIZE] |
World * | world |
SuperRegion::SuperRegion | ( | World * | world, |
point_int_t | origin | ||
) |
void SuperRegion::AddBlock | ( | ) | [inline] |
void SuperRegion::DrawOccupancy | ( | void | ) | const |
void SuperRegion::DrawVoxels | ( | unsigned int | layer | ) | const |
const point_int_t& Stg::SuperRegion::GetOrigin | ( | ) | const [inline] |
Region* Stg::SuperRegion::GetRegion | ( | int32_t | x, |
int32_t | y | ||
) | [inline] |
void SuperRegion::RemoveBlock | ( | ) | [inline] |
unsigned long Stg::SuperRegion::count [private] |
point_int_t Stg::SuperRegion::origin [private] |
Region Stg::SuperRegion::regions[SUPERREGIONSIZE] [private] |
World* Stg::SuperRegion::world [private] |