mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Initial commit.
:)
This commit is contained in:
19
source/UserInput/MouseTurnInput.hpp
Normal file
19
source/UserInput/MouseTurnInput.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "ITurnInput.hpp"
|
||||
#include "Minecraft.hpp"
|
||||
class Minecraft;
|
||||
|
||||
class MouseTurnInput : public ITurnInput
|
||||
{
|
||||
public:
|
||||
MouseTurnInput(Minecraft*);
|
||||
Delta getTurnDelta() override;
|
||||
|
||||
private:
|
||||
int m_lastX = -1;
|
||||
int m_lastY = -1;
|
||||
|
||||
Minecraft* m_pMinecraft;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user