Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8976 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc


Ignore:
Timestamp:
Jul 1, 2006, 1:05:38 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: the hud displays Energy and WeaponEnergy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r8316 r8976  
    3434#include "sound_buffer.h"
    3535
    36 #include "glgui_bar.h"
     36#include "elements/glgui_energywidget.h"
    3737
    3838using namespace std;
     
    312312  if (this->energyWidget == NULL)
    313313  {
    314     this->energyWidget = new OrxGui::GLGuiBar;
     314    this->energyWidget = new OrxGui::GLGuiEnergyWidget;
    315315    this->energyWidget->setSize2D( 20, 100);
    316316    this->energyWidget->setMaximum(this->getEnergyMax());
Note: See TracChangeset for help on using the changeset viewer.