Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7065 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Feb 7, 2006, 1:13:58 PM (18 years ago)
Author:
bensch
Message:

powerups sounds when pickup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/sound_source.h

    r6981 r7065  
    3333    /** @returns true, if the Source is Playing */
    3434    inline bool   isPlaying() const { return this->bPlay; };
     35    /** @param sourceNode the Source this is attached to. */
     36    inline void setSourceNode(const PNode* sourceNode) { this->sourceNode = sourceNode;};
    3537    /** @returns the SoundBuffer of this Source */
    3638    inline const SoundBuffer* getBuffer() const { return this->buffer; }
Note: See TracChangeset for help on using the changeset viewer.