camera movement & formatting
This commit is contained in:
11
src/game/Input.cpp
Normal file
11
src/game/Input.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "../engine/Shared.h"
|
||||
#include "Global.h"
|
||||
#include "Input.h"
|
||||
|
||||
namespace Game
|
||||
{
|
||||
bool GetKey(ScanCode key)
|
||||
{
|
||||
return GetShared().Window.HeldScanCodes[(int32_t)key];
|
||||
}
|
||||
} // namespace Game
|
||||
Reference in New Issue
Block a user