Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 27, 2015, 10:03:53 PM (10 years ago)
Author:
landauf
Message:

cleanup: empty level is empty again & tabs→spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weaponFS15/src/modules/weapons/projectiles/GravityBomb.h

    r10502 r10601  
    2626namespace orxonox
    2727{
    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         */
    38         class _WeaponsExport GravityBomb : public BasicProjectile , public MovableEntity, public RadarViewable
    39         {
    40                 public:
    41                         GravityBomb(Context* context);
    42                         virtual ~GravityBomb();
    43                         virtual void tick(float dt);
     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    */
     38    class _WeaponsExport GravityBomb : public BasicProjectile , public MovableEntity, public RadarViewable
     39    {
     40        public:
     41            GravityBomb(Context* context);
     42            virtual ~GravityBomb();
     43            virtual void tick(float dt);
    4444
    45                         virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint);
    46                         void detonate();
    47                 private:
    48                 static const float LIFETIME;
     45            virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint);
     46            void detonate();
     47        private:
     48        static const float LIFETIME;
    4949
    50                 bool hasCollided_;
    51                 float timeToLife_; //Time the bomb flies before it explodes.
    52                 WorldSound* bombSound_;
    53         };
     50        bool hasCollided_;
     51        float timeToLife_; //Time the bomb flies before it explodes.
     52        WorldSound* bombSound_;
     53    };
    5454}
    5555#endif /* GravityBOMB_H_ */
Note: See TracChangeset for help on using the changeset viewer.