NazaraEngine/include/Nazara/Audio/SoundEmitter.inl

18 lines
408 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Audio module"
// For conditions of distribution and use, see copyright notice in Export.hpp
namespace Nz
{
/*!
* \brief Checks whether the sound is playing
* \return true if it is the case
*/
bool SoundEmitter::IsPlaying() const
{
return GetStatus() == SoundStatus::Playing;
}
}