#include <region.hh>
Public Member Functions | |
void | AddBlock (Block *b, unsigned int index) |
Cell () | |
const std::vector< Block * > & | GetBlocks (unsigned int index) |
void | RemoveBlock (Block *b, unsigned int index) |
Public Attributes | |
Region * | region |
Private Attributes | |
std::vector< Block * > | blocks [2] |
Friends | |
class | SuperRegion |
class | World |
Stg::Cell::Cell | ( | ) | [inline] |
void Stg::Cell::AddBlock | ( | Block * | b, |
unsigned int | index | ||
) |
const std::vector<Block*>& Stg::Cell::GetBlocks | ( | unsigned int | index | ) | [inline] |
void Stg::Cell::RemoveBlock | ( | Block * | b, |
unsigned int | index | ||
) |
friend class SuperRegion [friend] |
std::vector<Block*> Stg::Cell::blocks[2] [private] |