summaryrefslogtreecommitdiff
path: root/src/KingSystem/Sound/Actor/Action/actionStopAllDemoSoundAction.h
blob: 90d2908656e0c44f1f7396d17bb794ce4d6e7aee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "KingSystem/ActorSystem/actAiAction.h"

namespace ksys::snd {

class StopAllDemoSoundAction : public ksys::act::ai::Action {
    SEAD_RTTI_OVERRIDE(StopAllDemoSoundAction, ksys::act::ai::Action)
public:
    explicit StopAllDemoSoundAction(const InitArg& arg);
    ~StopAllDemoSoundAction() override;

    bool init_(sead::Heap* heap) override;
    void enter_(ksys::act::ai::InlineParamPack* params) override;
    void leave_() override;
    void loadParams_() override;

protected:
    void calc_() override;
};

}  // namespace ksys::snd