Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9846 in orxonox.OLD for branches/new_class_id/src/lib/sound


Ignore:
Timestamp:
Sep 27, 2006, 11:23:43 PM (18 years ago)
Author:
bensch
Message:

new KeepLevel definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/sound/resource_sound_buffer.h

    r9823 r9846  
    2626      SoundBufferResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const SoundBufferData::Pointer& data);
    2727      inline const SoundBufferData::Pointer& ptr() const { return pointer; }
     28      virtual bool last() const { return pointer.count() == 1; }
    2829    private:
    2930      SoundBufferData::Pointer pointer;
Note: See TracChangeset for help on using the changeset viewer.