#include <GLWTankFire.h>

Public Member Functions | |
| GLWTankFire () | |
| virtual | ~GLWTankFire () |
| virtual void | mouseDown (int button, float x, float y, bool &skipRest) |
| virtual void | mouseUp (int button, float x, float y, bool &skipRest) |
| REGISTER_CLASS_HEADER (GLWTankFire) | |
Protected Attributes | |
| bool | dragging_ |
Definition at line 26 of file GLWTankFire.h.
| GLWTankFire::GLWTankFire | ( | ) |
Definition at line 31 of file GLWTankFire.cpp.
References GLWidget::setToolTip(), and ToolTip::ToolTipHelp.
| GLWTankFire::~GLWTankFire | ( | ) | [virtual] |
Definition at line 41 of file GLWTankFire.cpp.
| void GLWTankFire::mouseDown | ( | int | button, | |
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 46 of file GLWTankFire.cpp.
References dragging_, GLWidget::h_, GLWidget::inBox(), GLWidget::w_, GLWidget::x_, and GLWidget::y_.
| void GLWTankFire::mouseUp | ( | int | button, | |
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 54 of file GLWTankFire.cpp.
References dragging_, TankKeyboardControlUtil::fireShot(), TankContainer::getCurrentTank(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), GLWidget::h_, GLWidget::inBox(), ScorchedClient::instance(), TankState::sNormal, GLWidget::w_, GLWidget::x_, and GLWidget::y_.
| GLWTankFire::REGISTER_CLASS_HEADER | ( | GLWTankFire | ) |
bool GLWTankFire::dragging_ [protected] |
1.5.3