1#pragma once
2
3#include <math/seadVector.h>
4
5class PlayerConst;
6
7class PlayerContinuousJump {
8public:
9 PlayerContinuousJump(const PlayerConst* pConst);
10 void update(bool shouldCountDown);
11 void clear();
12 void countUp(const sead::Vector3f& jumpDir);
13
14private:
15 const PlayerConst* mConst;
16 u32 mCount = 0;
17 u32 mTimer = 0;
18 sead::Vector3f mLastJumpDir = {0.0f, 0.0f, 0.0f};
19};
20