Rasterization-DiscoBall
 All Classes Files Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
VisualControl Class Reference

#include <VisualControl.h>

Public Member Functions

void step ()
 
void update (std::vector< shared_ptr< Change > > allChanges)
 
 VisualControl (shared_ptr< DemoScene > scene, float updateRate, shared_ptr< Map > map)
 

Static Public Member Functions

static shared_ptr< VisualControlcreate (shared_ptr< DemoScene > scene, float updateRate, shared_ptr< Map > map)
 

Public Attributes

int dimX = 15
 
int dimY = 15
 
int dimZ = 15
 
int gridOccupancy [15][15][15]
 
shared_ptr< DemoScenem_scene
 
float updateRate
 

Protected Attributes

std::vector< shared_ptr
< Animation > > 
allAnimations
 
std::vector< shared_ptr< Sound > > deathSounds
 
std::vector< shared_ptr< Sound > > hitSounds
 
shared_ptr< Mapm_map
 

Constructor & Destructor Documentation

VisualControl::VisualControl ( shared_ptr< DemoScene scene,
float  updateRate,
shared_ptr< Map map 
)

Member Function Documentation

shared_ptr< VisualControl > VisualControl::create ( shared_ptr< DemoScene scene,
float  updateRate,
shared_ptr< Map map 
)
static
void VisualControl::step ( )
void VisualControl::update ( std::vector< shared_ptr< Change > >  allChanges)

Member Data Documentation

std::vector< shared_ptr<Animation> > VisualControl::allAnimations
protected
std::vector< shared_ptr<Sound> > VisualControl::deathSounds
protected
int VisualControl::dimX = 15
int VisualControl::dimY = 15
int VisualControl::dimZ = 15
int VisualControl::gridOccupancy[15][15][15]
std::vector< shared_ptr<Sound> > VisualControl::hitSounds
protected
shared_ptr<Map> VisualControl::m_map
protected
shared_ptr<DemoScene> VisualControl::m_scene
float VisualControl::updateRate

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