Files

26 lines
332 B
C
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
class Player;
class Input
{
public:
float xa;
float ya;
2026-03-02 01:21:56 +08:00
float sprintForward;
2026-03-01 12:16:08 +08:00
bool wasJumping;
bool jumping;
bool sneaking;
2026-03-02 01:21:56 +08:00
bool usingKeyboardMovement;
2026-03-01 12:16:08 +08:00
Input(); // 4J - added
virtual void tick(LocalPlayer *player);
private:
2026-03-01 12:16:08 +08:00
bool lReset;
bool rReset;
bool m_gamepadSneaking;
2026-03-02 01:21:56 +08:00
};