summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiLynelDistanceLostCheck.h
blob: d059f7a98f237f072e3e2c3842ccc732168cd6c7 (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/aiDistanceLostCheck.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class LynelDistanceLostCheck : public DistanceLostCheck {
    SEAD_RTTI_OVERRIDE(LynelDistanceLostCheck, DistanceLostCheck)
public:
    explicit LynelDistanceLostCheck(const InitArg& arg);
    ~LynelDistanceLostCheck() 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 0x68
    int* mLynelAIFlags_a{};
};

}  // namespace uking::ai