#include <SphereActionRenderer.h>

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_ |
Definition at line 27 of file SphereActionRenderer.h.
| 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.
| 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.
Vector SphereActionRenderer::position_ [protected] |
float SphereActionRenderer::frameTime_ [protected] |
float SphereActionRenderer::size_ [protected] |
1.5.3