mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 17:23:42 +00:00
25 lines
297 B
C++
25 lines
297 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;
|
|
};
|