refactor: refactor KBM input code
This commit is contained in:
@@ -6,20 +6,17 @@ class Input
|
||||
public:
|
||||
float xa;
|
||||
float ya;
|
||||
float sprintForward;
|
||||
|
||||
bool wasJumping;
|
||||
bool jumping;
|
||||
bool sneaking;
|
||||
bool usingKeyboardMovement;
|
||||
|
||||
Input(); // 4J - added
|
||||
bool sprinting;
|
||||
|
||||
Input();
|
||||
|
||||
virtual void tick(LocalPlayer *player);
|
||||
|
||||
private:
|
||||
|
||||
bool lReset;
|
||||
bool rReset;
|
||||
bool m_gamepadSneaking;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user