Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
Stg::Region Class Reference

#include <region.hh>

Public Member Functions

void AddBlock ()
 
CellGetCell (int32_t x, int32_t y)
 
 Region ()
 
void RemoveBlock ()
 
 ~Region ()
 

Public Attributes

SuperRegionsuperregion
 

Private Attributes

std::vector< Cellcells
 
unsigned long count
 

Friends

class SuperRegion
 
class World
 

Detailed Description

Definition at line 57 of file region.hh.

Constructor & Destructor Documentation

Stg::Region::Region ( )

Definition at line 11 of file region.cc.

Stg::Region::~Region ( )

Definition at line 18 of file region.cc.

Member Function Documentation

void Stg::Region::AddBlock ( )
inline

Definition at line 22 of file region.cc.

Cell* Stg::Region::GetCell ( int32_t  x,
int32_t  y 
)
inline

Definition at line 70 of file region.hh.

void Stg::Region::RemoveBlock ( )
inline

Definition at line 29 of file region.cc.

Friends And Related Function Documentation

friend class SuperRegion
friend

Definition at line 59 of file region.hh.

friend class World
friend

Definition at line 60 of file region.hh.

Member Data Documentation

std::vector<Cell> Stg::Region::cells
private

Definition at line 63 of file region.hh.

unsigned long Stg::Region::count
private

Definition at line 64 of file region.hh.

SuperRegion* Stg::Region::superregion

Definition at line 88 of file region.hh.


The documentation for this class was generated from the following files:


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12