- Timestamp:
- May 23, 2015, 7:33:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponFS15/src/modules/weapons/projectiles/GravityBomb.h
r10435 r10455 1 /*2 * ORXONOX - the hottest 3D action shooter ever to exist3 * > www.orxonox.net <4 *5 *6 * License notice:7 *8 * This program is free software; you can redistribute it and/or9 * modify it under the terms of the GNU General Public License10 * as published by the Free Software Foundation; either version 211 * of the License, or (at your option) any later version.12 *13 * This program is distributed in the hope that it will be useful,14 * but WITHOUT ANY WARRANTY; without even the implied warranty of15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16 * GNU General Public License for more details.17 *18 * You should have received a copy of the GNU General Public License19 * along with this program; if not, write to the Free Software20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.21 *22 * Author:23 * Gabriel Nadler24 * Co-authors:25 * simonmie26 *27 */28 29 30 1 /* 31 2 * GravityBomb.h … … 51 22 #include "../../../orxonox/worldentities/WorldEntity.h" 52 23 #include "GravityBombField.h" 24 #include "sound\WorldSound.h" 53 25 54 26 namespace orxonox 55 27 { 56 28 /** 29 * @class GravityBomb 30 * 31 * @brief This class implements how long the bomb flies before it places the GravityField at it's last possition. 32 * The field will be created either because the timelimit of the bomb expired or it hit something. After creation of the field, 33 * the projectile (this object) is destroyed. 34 * 35 * @author Manuel Eggimann 36 * @date 23.05.2015 37 */ 57 38 class _WeaponsExport GravityBomb : public BasicProjectile , public MovableEntity, public RadarViewable 58 39 { … … 69 50 bool isDetonated_; //Used to check whether the Bomb has to be destroyed during next tick. 70 51 float timeToLife_; //Time the bomb flies before it explodes. 71 52 WorldSound* bombSound_; 72 53 }; 73 54 }
Note: See TracChangeset
for help on using the changeset viewer.