HOG2
Public Member Functions | Public Attributes | List of all members
state3d Class Reference

#include <Map3DGrid.h>

Public Member Functions

 state3d ()
 
 state3d (int s, int r, int o)
 
void Init (int sector, int region, int offset)
 
int GetSector () const
 
int GetRegion () const
 
int GetOffset () const
 
void SetOffset (int off)
 

Public Attributes

uint16_t sector
 
uint8_t region
 
uint8_t offset
 

Detailed Description

Definition at line 167 of file Map3DGrid.h.

Constructor & Destructor Documentation

◆ state3d() [1/2]

state3d::state3d ( )
inline

Definition at line 170 of file Map3DGrid.h.

References offset, region, and sector.

◆ state3d() [2/2]

state3d::state3d ( int  s,
int  r,
int  o 
)
inline

Definition at line 171 of file Map3DGrid.h.

Member Function Documentation

◆ GetOffset()

int state3d::GetOffset ( ) const
inline

◆ GetRegion()

int state3d::GetRegion ( ) const
inline

◆ GetSector()

int state3d::GetSector ( ) const
inline

◆ Init()

void state3d::Init ( int  sector,
int  region,
int  offset 
)
inline

Definition at line 172 of file Map3DGrid.h.

References offset, region, and sector.

Referenced by Map3DGrid::ApplyAction(), Map3DGrid::FindNearState(), and Map3DGrid::OpenGLDraw().

◆ SetOffset()

void state3d::SetOffset ( int  off)
inline

Definition at line 177 of file Map3DGrid.h.

References offset.

Member Data Documentation

◆ offset

uint8_t state3d::offset

◆ region

uint8_t state3d::region

◆ sector

uint16_t state3d::sector

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