TargetRendererImplTankHUD Class Reference

#include <TargetRendererImplTank.h>

List of all members.

Static Public Member Functions

static void simulate (float frameTime)
static bool drawText ()
static void setText (const char *textA, const char *textB, float percentage=-1.0f)
static const char * getTextA ()
static const char * getTextB ()
static float getPercentage ()

Static Protected Attributes

static float timeLeft_ = -1.0f
static float percentage_ = -1.0f
static std::string textA_ = ""
static std::string textB_ = ""


Detailed Description

Definition at line 48 of file TargetRendererImplTank.h.


Member Function Documentation

static void TargetRendererImplTankHUD::simulate ( float  frameTime  )  [inline, static]

Definition at line 51 of file TargetRendererImplTank.h.

References timeLeft_.

Referenced by RenderTargets::Renderer2D::simulate().

static bool TargetRendererImplTankHUD::drawText (  )  [inline, static]

Definition at line 53 of file TargetRendererImplTank.h.

References timeLeft_.

Referenced by GLWHudCondition::getResult(), and TargetRendererImplTank::render2D().

static void TargetRendererImplTankHUD::setText ( const char *  textA,
const char *  textB,
float  percentage = -1.0f 
) [inline, static]

Definition at line 54 of file TargetRendererImplTank.h.

References percentage_, textA_, textB_, and timeLeft_.

Referenced by TankKeyboardControlUtil::keyboardCheck(), TankKeyboardControlUtil::leftRightHUD(), TankKeyboardControlUtil::powerHUD(), and TankKeyboardControlUtil::upDownHUD().

static const char* TargetRendererImplTankHUD::getTextA (  )  [inline, static]

Definition at line 56 of file TargetRendererImplTank.h.

References textA_.

Referenced by TargetRendererImplTank::render2D().

static const char* TargetRendererImplTankHUD::getTextB (  )  [inline, static]

Definition at line 57 of file TargetRendererImplTank.h.

References textB_.

Referenced by TargetRendererImplTank::render2D().

static float TargetRendererImplTankHUD::getPercentage (  )  [inline, static]

Definition at line 58 of file TargetRendererImplTank.h.

References percentage_.

Referenced by TargetRendererImplTank::render2D().


Member Data Documentation

float TargetRendererImplTankHUD::timeLeft_ = -1.0f [static, protected]

Definition at line 61 of file TargetRendererImplTank.h.

Referenced by drawText(), setText(), and simulate().

float TargetRendererImplTankHUD::percentage_ = -1.0f [static, protected]

Definition at line 62 of file TargetRendererImplTank.h.

Referenced by getPercentage(), and setText().

std::string TargetRendererImplTankHUD::textA_ = "" [static, protected]

Definition at line 63 of file TargetRendererImplTank.h.

Referenced by getTextA(), and setText().

std::string TargetRendererImplTankHUD::textB_ = "" [static, protected]

Definition at line 64 of file TargetRendererImplTank.h.

Referenced by getTextB(), and setText().


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