Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 24, 2006, 9:10:24 AM (19 years ago)
Author:
nicolasc
Message:

renamed shield() to regen as Regenration Handler, defined damage in projectile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/projectile.h

    r9869 r9953  
    5050    inline bool tickLifeCycle(float dt ) { this->lifeCycle += dt/this->lifeSpan;  return(unlikely(this->lifeCycle >= 1)); }
    5151
     52    virtual int getPhysDamage();
     53    virtual int getElecDamage();
    5254
    5355  protected:
     
    6971    OrxSound::SoundBuffer  explosionBuffer;
    7072    OrxSound::SoundBuffer  engineBuffer;
     73
     74    int                     physDamage;               //!< damage to shield and armor
     75    int                     elecDamage;               //!< damage to elctronic
    7176};
    7277
Note: See TracChangeset for help on using the changeset viewer.