Files
MinecraftConsoles/Minecraft.Client/Input.h

23 lines
280 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
class Player;
class Input
{
public:
float xa;
float ya;
bool wasJumping;
bool jumping;
bool sneaking;
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-01 12:16:08 +08:00
};