Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2011, 3:54:40 PM (13 years ago)
Author:
simonmie
Message:

comments added, unused parts removed, some spam messages removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion/src/modules/weapons/projectiles/Projectile.h

    r8538 r8542  
    2323 *      Fabian 'x3n' Landau
    2424 *   Co-authors:
    25  *      ...
     25 *      simonmie
    2626 *
    2727 */
     
    5151            virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);
    5252
    53 /*            inline void setDamage(float damage)
    54                 { this->damage_ = damage;  COUT(3) << "DAMAGE-SET-FUNKTION WIRD AUFGERUFEN" << endl; }
    55             inline float getDamage() const
    56                 { return this->damage_; }
    57 */
    58 
    59 
    6053            void setOwner(Pawn* owner);
    6154            inline Pawn* getOwner() const
    6255                { return this->owner_; }
    6356
    64 /*///////////////////me
    65 
    66             inline void setHealthDamage(float healthdamage)
    67                 { this->healthdamage_ = healthdamage; }
    68             inline float getHealthDamage() const
    69                 { return this->healthdamage_; }
    70 
    71             inline void setShieldDamage(float shielddamage)
    72                 { this->shielddamage_ = shielddamage; COUT(3) << "SHIELDDAMAGE SET TO " << shielddamage << endl; } //ShieldDamage wird korrekt gesettet vom XML-File
    73             inline float getShieldDamage() const
    74                 { return this->shielddamage_; }
    75 
    76 ///////////////////end me
    77 */
    7857
    7958        private:
    8059            WeakPtr<Pawn> owner_;
    8160            float lifetime_;
    82 /*            float damage_;
    83 ///////me
    84             float healthdamage_;
    85             float shielddamage_;
    86 ///////end me
    87             bool bDestroy_;
    88 */            Timer destroyTimer_;
     61            Timer destroyTimer_;
    8962    };
    9063}
Note: See TracChangeset for help on using the changeset viewer.