#pragma once

#include <basis/seadTypes.h>

#include "Library/LiveActor/LiveActor.h"

#include "Util/IUseDimension.h"

namespace al {
struct ActorInitInfo;
class HitSensor;
class NerveStateBase;
class SensorMsg;
}  // namespace al

class ActorDimensionKeeper;

class LifeUpItem2D : public al::LiveActor, public IUseDimension {
public:
    LifeUpItem2D(const char* name);

    void init(const al::ActorInitInfo& info) override;
    bool receiveMsg(const al::SensorMsg* message, al::HitSensor* other,
                    al::HitSensor* self) override;
    ActorDimensionKeeper* getActorDimensionKeeper() const override;

    void appearPopUp();
    void appearAmiiboTouch();
    void get();

    void exePopUp();
    void exeWait();
    void exeGet();
    void exeAutoGetDemo();

    void setBool130(bool value) { _130 = value; }

private:
    al::NerveStateBase* mNerveStateBase = nullptr;
    al::HitSensor* mHitSensor = nullptr;
    s32 _120 = 0;
    ActorDimensionKeeper* mDimensionKeeper = nullptr;
    bool _130 = false;
};
