mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-22 15:06:12 +00:00
23 lines
302 B
C++
23 lines
302 B
C++
#pragma once
|
|
class Player;
|
|
|
|
class Input {
|
|
public:
|
|
float xa;
|
|
float ya;
|
|
|
|
bool wasJumping;
|
|
bool jumping;
|
|
bool sneaking;
|
|
bool sprintKey;
|
|
|
|
Input(); // 4J - added
|
|
virtual ~Input() {}
|
|
|
|
virtual void tick(LocalPlayer* player);
|
|
|
|
private:
|
|
bool lReset;
|
|
bool rReset;
|
|
};
|