Stg::Model::Flag Class Reference

#include <stage.hh>

List of all members.

Public Member Functions

void Draw (GLUquadric *quadric)
 Flag (const Color &color, double size)
Color GetColor ()
double GetSize ()
FlagNibble (double portion)
void SetColor (const Color &col)
void SetSize (double sz)

Constructor & Destructor Documentation

Model::Flag::Flag ( const Color color,
double  size 
)

Member Function Documentation

void Model::Flag::Draw ( GLUquadric *  quadric)

Draw the flag in OpenGl. Takes a quadric parameter to save creating the quadric for each flag

Color Stg::Model::Flag::GetColor ( ) [inline]
double Stg::Model::Flag::GetSize ( ) [inline]
Model::Flag * Model::Flag::Nibble ( double  portion)
void Model::Flag::SetColor ( const Color col)
void Model::Flag::SetSize ( double  sz)

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