Jungle_Week1_Team2
Loading...
Searching...
No Matches
CInputManager Class Reference

#include <InputManager.h>

Public Member Functions

 CInputManager ()=default
 ~CInputManager ()=default
 CInputManager (const CInputManager &)=delete
 CInputManager (CInputManager &&)=delete
CInputManageroperator= (const CInputManager &)=delete
CInputManageroperator= (CInputManager &&)=delete
void ProcessMessage (HWND Hwnd, UINT Msg, WPARAM WParam, LPARAM LParam)
void Tick ()
bool IsKeyDown (int32 Key) const
bool IsKeyPressed (int32 Key) const
bool IsKeyReleased (int32 Key) const
bool IsMouseButtonDown (int32 Button) const
bool IsMouseButtonPressed (int32 Button) const
bool IsMouseButtonReleased (int32 Button) const
float GetMouseDeltaX () const
float GetMouseDeltaY () const

Static Public Attributes

static constexpr int32 MOUSE_LEFT = 0
static constexpr int32 MOUSE_RIGHT = 1
static constexpr int32 MOUSE_MIDDLE = 2

Constructor & Destructor Documentation

◆ CInputManager() [1/3]

CInputManager::CInputManager ( )
default

◆ ~CInputManager()

CInputManager::~CInputManager ( )
default

◆ CInputManager() [2/3]

CInputManager::CInputManager ( const CInputManager & )
delete

◆ CInputManager() [3/3]

CInputManager::CInputManager ( CInputManager && )
delete

Member Function Documentation

◆ GetMouseDeltaX()

float CInputManager::GetMouseDeltaX ( ) const
inline

◆ GetMouseDeltaY()

float CInputManager::GetMouseDeltaY ( ) const
inline

◆ IsKeyDown()

bool CInputManager::IsKeyDown ( int32 Key) const

◆ IsKeyPressed()

bool CInputManager::IsKeyPressed ( int32 Key) const

◆ IsKeyReleased()

bool CInputManager::IsKeyReleased ( int32 Key) const

◆ IsMouseButtonDown()

bool CInputManager::IsMouseButtonDown ( int32 Button) const

◆ IsMouseButtonPressed()

bool CInputManager::IsMouseButtonPressed ( int32 Button) const

◆ IsMouseButtonReleased()

bool CInputManager::IsMouseButtonReleased ( int32 Button) const

◆ operator=() [1/2]

CInputManager & CInputManager::operator= ( CInputManager && )
delete

◆ operator=() [2/2]

CInputManager & CInputManager::operator= ( const CInputManager & )
delete

◆ ProcessMessage()

void CInputManager::ProcessMessage ( HWND Hwnd,
UINT Msg,
WPARAM WParam,
LPARAM LParam )

◆ Tick()

void CInputManager::Tick ( )

Member Data Documentation

◆ MOUSE_LEFT

int32 CInputManager::MOUSE_LEFT = 0
staticconstexpr

◆ MOUSE_MIDDLE

int32 CInputManager::MOUSE_MIDDLE = 2
staticconstexpr

◆ MOUSE_RIGHT

int32 CInputManager::MOUSE_RIGHT = 1
staticconstexpr

The documentation for this class was generated from the following files: