Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2006, 12:31:01 AM (17 years ago)
Author:
marcscha
Message:

Inline of damage get on projectile, part implementation of primary - secondary weapon and handling variables for the weapon manager

File:
1 edited

Legend:

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

    r9957 r9958  
    5252    inline bool tickLifeCycle(float dt ) { this->lifeCycle += dt/this->lifeSpan;  return(unlikely(this->lifeCycle >= 1)); }
    5353
    54     virtual int getPhysDamage();
    55     virtual int getElecDamage();
     54    inline int getPhysDamage() { return this->physDamage; };
     55    inline int getElecDamage() { return this->elecDamage; };
    5656
    5757  protected:
Note: See TracChangeset for help on using the changeset viewer.