# ButtonInputEvent Class Reference

`#include <InputEvents.h>`

Inheritance diagram for ButtonInputEvent:

List of all members.

## Public Member Functions
| ButtonInputEvent (const int &key, const bool &bIsDown)
| ~ButtonInputEvent ()
virtual HashString | GetEventType ()
int | GetKey ()
bool | IsKeyDown ()
## Static Public Attributes
static HashString | cEventName = HashString(std::string("ButtonInputEvent"))
## Protected Attributes
HashString | m_eventName
int | m_key
bool | m_bIsDown

## Detailed Description

Definition at line 7 of file InputEvents.h.

## Constructor & Destructor Documentation

ButtonInputEvent::ButtonInputEvent | ( | const int & | key,
|  | const bool & | bIsDown |
| ) |  |  | `[inline]`

Definition at line 10 of file InputEvents.h.

ButtonInputEvent::~ButtonInputEvent | ( |  | ) | `[inline]`

Definition at line 11 of file InputEvents.h.

## Member Function Documentation

virtual HashString ButtonInputEvent::GetEventType | ( |  | ) | `[inline, virtual]`

Implements IEvent.

Definition at line 13 of file InputEvents.h.

int ButtonInputEvent::GetKey | ( |  | ) | `[inline]`

Definition at line 14 of file InputEvents.h.

bool ButtonInputEvent::IsKeyDown | ( |  | ) | `[inline]`

Definition at line 15 of file InputEvents.h.

## Member Data Documentation

HashString ButtonInputEvent::cEventName = HashString(std::string("ButtonInputEvent"))`[static]`

Definition at line 17 of file InputEvents.h.

bool ButtonInputEvent::m_bIsDown`[protected]`

Definition at line 22 of file InputEvents.h.

HashString ButtonInputEvent::m_eventName`[protected]`

Definition at line 20 of file InputEvents.h.

int ButtonInputEvent::m_key`[protected]`

Definition at line 21 of file InputEvents.h.

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

- C:/Users/Public/AGS Final Folder/BFLETCHER D4010283/Source/Game/Source/InputEvents.h
- C:/Users/Public/AGS Final Folder/BFLETCHER D4010283/Source/Game/Source/InputEvents.cpp