SphereActionRenderer Class Reference

#include <SphereActionRenderer.h>

Inheritance diagram for SphereActionRenderer:

ActionRenderer

List of all members.

Public Member Functions

 SphereActionRenderer (Vector &position, float size)
virtual ~SphereActionRenderer ()
virtual void simulate (Action *action, float timepassed, bool &remove)
virtual void draw (Action *action)

Protected Attributes

Vector position_
float frameTime_
float size_


Detailed Description

Definition at line 27 of file SphereActionRenderer.h.


Constructor & Destructor Documentation

SphereActionRenderer::SphereActionRenderer ( Vector position,
float  size 
)

Definition at line 25 of file SphereActionRenderer.cpp.

SphereActionRenderer::~SphereActionRenderer (  )  [virtual]

Definition at line 30 of file SphereActionRenderer.cpp.


Member Function Documentation

void SphereActionRenderer::simulate ( Action action,
float  timepassed,
bool &  remove 
) [virtual]

Reimplemented from ActionRenderer.

Definition at line 52 of file SphereActionRenderer.cpp.

References frameTime_.

void SphereActionRenderer::draw ( Action action  )  [virtual]

Implements ActionRenderer.

Definition at line 34 of file SphereActionRenderer.cpp.

References GL_TRUE, glColor3f(), glPopMatrix(), glPushMatrix(), glTranslatef(), position_, size_, and GLState::TEXTURE_OFF.


Member Data Documentation

Vector SphereActionRenderer::position_ [protected]

Definition at line 37 of file SphereActionRenderer.h.

Referenced by draw().

float SphereActionRenderer::frameTime_ [protected]

Definition at line 38 of file SphereActionRenderer.h.

Referenced by simulate().

float SphereActionRenderer::size_ [protected]

Definition at line 39 of file SphereActionRenderer.h.

Referenced by draw().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3