#ifndef D_T_SOUND_AREA_MGR_H
#define D_T_SOUND_AREA_MGR_H

#include "d/t/d_tg.h"

class dTgSndMg_c : public dTg_c {
public:
    dTgSndMg_c() {
        sInstance = this;
    }
    virtual ~dTgSndMg_c() {
        sInstance = nullptr;
    }
    virtual int draw() override;
    virtual int actorExecute() override;
    virtual int doDelete() override;
    virtual int create() override;

    void setSndFlag(int flag) {
        mSndFlags |= 1 << flag;
    }

    u32 getSndFlags() const {
        return mSndFlags;
    }

    static dTgSndMg_c *GetInstance() {
        return sInstance;
    }

private:
    static dTgSndMg_c *sInstance;
    
    /* 0xFC */ u32 mSndFlags;
};

#endif
