Changeset 3685 in orxonox.OLD for orxonox/trunk/src/world_entities/weapon.cc
- Timestamp:
- Mar 30, 2005, 11:04:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapon.cc
r3677 r3685 154 154 */ 155 155 void Weapon::setWeaponIdleTime(float time) 156 {} 156 { 157 this->idleTime = time; 158 } 157 159 158 160 /** … … 164 166 */ 165 167 float Weapon::getWeaponIdleTime(void) 166 {} 168 { 169 return this->idleTime; 170 } 167 171 168 172 /** … … 174 178 */ 175 179 bool Weapon::hasWeaponIdleTimeElapsed(void) 176 {} 180 { 181 return (this->localTime>this->idleTime)?true:false; 182 } 177 183 178 184
Note: See TracChangeset
for help on using the changeset viewer.