Changeset 6074
- Timestamp:
- Nov 16, 2009, 10:37:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound3/src/orxonox/sound/BaseSound.h
r6071 r6074 53 53 virtual void pause(); 54 54 55 bool isPlaying() { return this->state_ = Playing; }56 bool isPaused() { return this->state_ = Paused; }57 bool isStopped() { return this->state_ = Stopped; }55 bool isPlaying() { return this->state_ == Playing; } 56 bool isPaused() { return this->state_ == Paused; } 57 bool isStopped() { return this->state_ == Stopped; } 58 58 59 59 virtual void setSource(const std::string& source);
Note: See TracChangeset
for help on using the changeset viewer.