GLWTankTracker Class Reference

#include <GLWTracker.h>

Inheritance diagram for GLWTankTracker:

GLWTracker GLWTrackerI GLWidget MetaClass

List of all members.

Public Member Functions

 GLWTankTracker ()
virtual ~GLWTankTracker ()
virtual void draw ()
virtual void currentChanged (unsigned int id, float valueX, float valueY)

Detailed Description

Definition at line 60 of file GLWTracker.h.

Constructor & Destructor Documentation

GLWTankTracker::GLWTankTracker (  ) 

Definition at line 86 of file GLWTracker.cpp.

References GLWTracker::setHandler(), GLWidget::setToolTip(), and ToolTip::ToolTipHelp.

GLWTankTracker::~GLWTankTracker (  )  [virtual]

Definition at line 100 of file GLWTracker.cpp.

Member Function Documentation

void GLWTankTracker::draw (  )  [virtual]

Reimplemented from GLWidget.

Definition at line 104 of file GLWTracker.cpp.

References fixed::asFloat(), GLWidget::draw(), TankContainer::getCurrentTank(), Tank::getPosition(), TankPosition::getRotationGunXY(), TankPosition::getRotationGunYZ(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), ScorchedClient::instance(), GLWTracker::setCurrentX(), GLWTracker::setCurrentY(), and TankState::sNormal.

void GLWTankTracker::currentChanged ( unsigned int  id,
float  valueX,
float  valueY 
) [virtual]

Implements GLWTrackerI.

Definition at line 119 of file GLWTracker.cpp.

References fixed::fromFloat(), TankContainer::getCurrentTank(), GLWidget::getId(), Tank::getPosition(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), ScorchedClient::instance(), TankPosition::rotateGunXY(), TankPosition::rotateGunYZ(), and TankState::sNormal.

GLWTankTracker::REGISTER_CLASS_HEADER ( GLWTankTracker   ) 

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