Files
SDLPongCPP/TrooperEngineDLL/TrooperEngine/InputEngine/cKey.cpp
T
2018-08-13 22:22:10 -04:00

39 lines
509 B
C++

#include "cKey.hpp"
/*** Custom Header Files ***/
#include "cKeyboard.hpp"
using InputEngine::cKey;
cKey::cKey( const SDL_Keycode& key )
: m_key(key)
{}
cKey::cKey( const cKey& copy )
: m_key(copy.getKey())
{}
/*virtual*/ cKey::~cKey()
{}
/// Funtions
/*virtual*/ void cKey::KeyPress()
{}
/*virtual*/ void cKey::KeyUP()
{}
/*virtual*/ void cKey::KeyDown()
{}
/// Sets
void cKey::setKey( const SDL_Keycode& key )
{
m_key = key;
}
/// Gets
const SDL_Keycode& cKey::getKey() const
{
return m_key;
}