Sound.h Sound.hCPP1/* Copyright Statement:2 *3 * (C) 2021-2024 Cubios Inc. All rights reserved.4 */5 6#ifndef WASMLIBS_CPP_SOUND_H_7#define WASMLIBS_CPP_SOUND_H_8 9#include <string>10#include "native.h"11#include "Object.h"12 13namespace Cubios 14{15class Sound: public Object 16{17 public:18 explicit Sound(const std::string& name);19 ~Sound();20 void Play(uint8_t volume = 100);21 22 static void Stop();23 static bool IsPlaying();24 25 private:26 soundID_t id;27};28 29} // namespace Cubios30#endif // WASMLIBS_CPP_SOUND_H_31 Wrapped for easier reading. Turn wrap off to inspect exact line lengths.WrappedExplain with AIAI