Changeset 7779 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- May 23, 2006, 10:04:17 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r7729 r7779 307 307 } 308 308 309 GLGuiWidget* Weapon::getEnergyWidget()309 OrxGui::GLGuiWidget* Weapon::getEnergyWidget() 310 310 { 311 311 if (this->energyWidget == NULL) 312 312 { 313 this->energyWidget = new GLGuiBar;313 this->energyWidget = new OrxGui::GLGuiBar; 314 314 this->energyWidget->setSize2D( 20, 100); 315 315 this->energyWidget->setMaximum(this->getEnergyMax()); -
trunk/src/world_entities/weapons/weapon.h
r7460 r7779 25 25 class TiXmlElement; 26 26 class FastFactory; 27 namespace OrxGui{ class GLGuiWidget; } 27 28 template<class T> class tFastFactory; 28 class GLGuiWidget;29 29 30 30 //! An enumerator defining Actions a Weapon can take … … 156 156 Animation3D* copyAnimation(WeaponState from, WeaponState to); 157 157 158 GLGuiWidget* getEnergyWidget();158 OrxGui::GLGuiWidget* getEnergyWidget(); 159 159 160 160 // FLOW … … 211 211 float maxCharge; //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled) 212 212 213 GLGuiBar*energyWidget;213 OrxGui::GLGuiBar* energyWidget; 214 214 215 215 PNode* defaultTarget; //!< A target for targeting Weapons.
Note: See TracChangeset
for help on using the changeset viewer.