TankParachutesTip Class Reference

#include <GLWTankTip.h>

Inheritance diagram for TankParachutesTip:

ToolTip GLWSelectorI

List of all members.

Public Member Functions

 TankParachutesTip (Tank *tank)
virtual ~TankParachutesTip ()
virtual void populate ()
void showItems (float x, float y)
virtual void itemSelected (GLWSelectorEntry *entry, int position)

Protected Attributes

Tanktank_


Detailed Description

Definition at line 101 of file GLWTankTip.h.


Constructor & Destructor Documentation

TankParachutesTip::TankParachutesTip ( Tank tank  ) 

Definition at line 363 of file GLWTankTip.cpp.

TankParachutesTip::~TankParachutesTip (  )  [virtual]

Definition at line 368 of file GLWTankTip.cpp.


Member Function Documentation

void TankParachutesTip::populate (  )  [virtual]

Reimplemented from ToolTip.

Definition at line 372 of file GLWTankTip.cpp.

References Tank::getAccessories(), TankAccessories::getAccessoryAndCountString(), TargetParachute::getCurrentParachute(), Target::getParachute(), LANG_RESOURCE, ToolTip::setText(), tank_, and ToolTip::ToolTipHelp.

void TankParachutesTip::showItems ( float  x,
float  y 
)

Definition at line 392 of file GLWTankTip.cpp.

References AccessoryPart::AccessoryParachute, TankAccessories::canUse(), Tank::getAccessories(), TankAccessories::getAccessoryAndCountString(), ScorchedContext::getAccessoryStore(), TankAccessories::getAllAccessoriesByType(), TargetParachute::getCurrentParachute(), Target::getParachute(), Accessory::getTexture(), Accessory::getToolTip(), GLWSelector::instance(), OptionsDisplay::instance(), ScorchedClient::instance(), LANG_RESOURCE, GLWSelector::showSelector(), AccessoryStore::sortList(), ClientState::StatePlaying, tank_, and ToolTip::ToolTipHelp.

Referenced by GLWScorchedInfo::mouseDown().

void TankParachutesTip::itemSelected ( GLWSelectorEntry entry,
int  position 
) [virtual]

Implements GLWSelectorI.

Definition at line 429 of file GLWTankTip.cpp.

References GLWSelectorEntry::getUserData(), TankKeyboardControlUtil::parachutesUpDown(), and tank_.


Member Data Documentation

Tank* TankParachutesTip::tank_ [protected]

Definition at line 111 of file GLWTankTip.h.

Referenced by itemSelected(), populate(), and showItems().


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