- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/weaponsystem/WeaponMode.h
r5929 r6412 51 51 bool fire(float* reloadTime); 52 52 bool reload(); 53 54 // Interacting with the default Firing sound 55 void setDefaultSound(const std::string& soundPath); 56 const std::string& getDefaultSound(); 53 57 54 58 … … 109 113 { return this->muzzleOffset_; } 110 114 111 Vector3 getMuzzlePosition() const; 112 const Quaternion& getMuzzleOrientation() const; 115 void computeMuzzleParameters(const Vector3& target); 116 const Vector3& getMuzzlePosition() const 117 { return this->muzzlePosition_; } 118 const Quaternion& getMuzzleOrientation() const 119 { return this->muzzleOrientation_; } 113 120 Vector3 getMuzzleDirection() const; 114 121 … … 124 131 inline unsigned int getMode() const 125 132 { return this->mode_; } 133 134 Vector3 getTarget(); 126 135 127 136 protected: … … 152 161 Timer reloadTimer_; 153 162 bool bReloading_; 163 164 Vector3 muzzlePosition_; 165 Quaternion muzzleOrientation_; 166 167 WorldSound* defSndWpnFire_; 168 bool bSoundAttached_; 154 169 }; 155 170 }
Note: See TracChangeset
for help on using the changeset viewer.