Clean up
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#include "KeyboardBinding.h"
|
||||
|
||||
namespace TLAC::Input
|
||||
{
|
||||
KeyboardBinding::KeyboardBinding(BYTE keycode) : Keycode(keycode)
|
||||
{
|
||||
}
|
||||
|
||||
KeyboardBinding::~KeyboardBinding()
|
||||
{
|
||||
}
|
||||
|
||||
bool KeyboardBinding::IsDown()
|
||||
{
|
||||
return Keyboard::GetInstance()->IsDown(Keycode);
|
||||
}
|
||||
|
||||
bool KeyboardBinding::IsTapped()
|
||||
{
|
||||
return Keyboard::GetInstance()->IsTapped(Keycode);
|
||||
}
|
||||
|
||||
bool KeyboardBinding::IsReleased()
|
||||
{
|
||||
return Keyboard::GetInstance()->IsReleased(Keycode);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user