Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 5:33:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some smaller fixes, to make Weapon more local

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon.h

    r4926 r4927  
    9595    /** @see void setEmissionPoint(const Vector& point); */
    9696    inline void setEmissionPoint(float x, float y, float z) { this->setEmissionPoint(Vector(x,y,z)); };
     97    /** @returns the absolute Position of the EmissionPoint */
     98    inline const Vector& getEmissionPoint() const { return this->emissionPoint.getAbsCoor(); };
    9799
    98100    /** @param state the State to time @param duration the duration of the State */
     
    158160
    159161
    160   protected:
     162  private:
    161163    // it is all about energy
    162164    float                energy;                           //!< The energy stored in the weapons secondary buffers (reserve)
     
    171173    // PHASES //
    172174    ////////////
    173   private:
    174175    SoundSource*         soundSource;                      //!< A SoundSource to play sound from (this is connected to the PNode of the Weapon)
    175176
Note: See TracChangeset for help on using the changeset viewer.