summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiInWaterKeepSelect.h
blob: 4783a3243bc4f9b4e7b7fd7dfc79d25a2d83ec2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include "Game/Actor/AI/aiInWaterSelect.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class InWaterKeepSelect : public InWaterSelect {
    SEAD_RTTI_OVERRIDE(InWaterKeepSelect, InWaterSelect)
public:
    explicit InWaterKeepSelect(const InitArg& arg);
    ~InWaterKeepSelect() override;

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

protected:
    // aitree_variable at offset 0x58
    bool* mIsKeepInWater_a{};
};

}  // namespace uking::ai