Changeset 10486 in orxonox.OLD for branches/playability/src/world_entities/weapons/medium_blaster.cc
- Timestamp:
- Jan 29, 2007, 6:51:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/medium_blaster.cc
r10485 r10486 10 10 11 11 #include "loading/fast_factory.h" 12 13 #include "elements/glgui_energywidgetvertical.h" 12 14 13 15 // … … 138 140 } 139 141 142 140 143 /** 141 144 * this activates the weapon … … 172 175 glPopMatrix(); 173 176 } 177 178 void MediumBlaster::tick(float dt) 179 { 180 if (this->energyWidget != NULL && !this->isEnergyWidgetInitialized) 181 { 182 this->energyWidget->setDisplayedImage("textures/gui/gui_medium_bold.png"); 183 this->setEnergyWidgetInitialized(true); 184 } 185 }
Note: See TracChangeset
for help on using the changeset viewer.