1#pragma once
2
3#include "Library/HostIO/HioNode.h"
4
5#include "Player/IJudge.h"
6
7namespace al {
8class LiveActor;
9}
10class PlayerConst;
11class IUsePlayerHeightCheck;
12class IUsePlayerFallDistanceCheck;
13
14class PlayerJudgeDiveInWater : public al::HioNode, public IJudge {
15public:
16 PlayerJudgeDiveInWater(const al::LiveActor* player, const PlayerConst* playerConst,
17 const IUsePlayerHeightCheck* heightCheck,
18 const IUsePlayerFallDistanceCheck* fallDistanceCheck);
19
20 void reset() override {}
21
22 void update() override {}
23
24 bool judge() const override;
25
26private:
27 const al::LiveActor* mPlayer;
28 const PlayerConst* mConst;
29 const IUsePlayerHeightCheck* mHeightCheck;
30 const IUsePlayerFallDistanceCheck* mFallDistanceCheck;
31};
32
33static_assert(sizeof(PlayerJudgeDiveInWater) == 0x28);
34