mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 16:23:36 +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;
|
|
};
|