Incremental Engine  1.0.6
A 2D Game Engine to create Idle Games
IncrementalEngine::WindowsInput Class Referenceabstract

#include <WindowsInput.h>

Inheritance diagram for IncrementalEngine::WindowsInput:
IncrementalEngine::InputManager

Public Member Functions

virtual LRESULT MessageHandler (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)=0
 
 WindowsInput ()
 

Static Public Attributes

static WindowsInputWINDOWS_INPUT = nullptr
 

Detailed Description

Definition at line 8 of file WindowsInput.h.

Constructor & Destructor Documentation

◆ WindowsInput()

IncrementalEngine::WindowsInput::WindowsInput ( )

Definition at line 9 of file WindowsInput.cpp.

10  {
11  assert(WINDOWS_INPUT == nullptr && "trying to declarate two instances of WindowsInput class.");
12  WINDOWS_INPUT = this;
13  }

Member Function Documentation

◆ MessageHandler()

virtual LRESULT IncrementalEngine::WindowsInput::MessageHandler ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
pure virtual

Member Data Documentation

◆ WINDOWS_INPUT

WindowsInput * IncrementalEngine::WindowsInput::WINDOWS_INPUT = nullptr
static

Definition at line 11 of file WindowsInput.h.

IncrementalEngine::WindowsInput::WINDOWS_INPUT
static WindowsInput * WINDOWS_INPUT
Definition: WindowsInput.h:11